I thus need to (I think) set a cookie containing JSESSIONID, and the current session id, which I have. I cannot, however, find any sample code of setting a cookie in the client request (though the docs say it can be done)
There is no magic involved:
HttpClient client = ...
client.getState().addCookie(new Cookie("mydomain.com", "JSESSIONID", id));
client.execute(themethod);
HTH
Odi
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]