DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28566>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28566

Handling sub-domain cookies.





------- Additional Comments From [EMAIL PROTECTED]  2004-04-27 09:16 -------
Abhishek,
This problem has already been addressed. I suppose you are using the latest CVS
snapshot, as the patch is against CVS HEAD. To make HttpClient send cookies as
one header set the parameter 'http.protocol.single-cookie-header' to true

GetMethod httpget = new GetMethod("/whatever");
httpget.getParams().
  setBooleanParameter("http.protocol.single-cookie-header", true);

This parameter can also be set at the HttpClient level, if you want all
subsequent requests issued by that HttpClient instance to send cookies as a
single header

HTH

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to