To provide the CSClient with a single cookie, use code like the following example:
((CSClientService)wksContext.getService("CSClient") .addCSConnectionCookies(clientCookieStr);
To provide the CSClient with a more than one cookie in a Vector of Strings use code like the following example:
((CSClientService)wksContext.getService("CSClient") .addCSConnectionCookies(clientCookiesVector);
The format of the Strings is cookieName="cookieValue".
As the client later resends the cookies, you only need to do this step once prior to establishing the session.