hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ROLWE...@de.ibm.com>
Subject Re: AW: Java plugin 1.4.2 Cookie support URLConnection vs HttpClient
Date Wed, 19 Oct 2005 07:42:01 GMT
Hi Alvin,

> httpclient.getState().addCookie(
>   new Cookie("www.whatever.com", "jsession", "topsecret", 
>   "/", -1, false));

This should work, as long as you don't specify a different
HttpState when executing the method.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message