hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <ros...@bellsouth.net>
Subject RE: Cookie Issues
Date Fri, 27 Jun 2003 20:31:01 GMT
I also didn't set a cookiePolicy and let the default go, still a cookie on a
separate line.  I also tried to concatenate all the cookies into a string
and set the cookie header line like so:
	post.setRequestHeader("Cookie",catCookies);

But that doesn't seem to work either. It is never sent.

Ross

-----Original Message-----
From: Ross Rankin [mailto:ross_r@bellsouth.net] 
Sent: Friday, June 27, 2003 4:13 PM
To: 'Commons HttpClient Project'; 'olegk@apache.org'
Subject: RE: Cookie Issues

I tried both NETSCAPE_DRAFT and RFC2109 and the trace of the post shows it
has separate lines for each cookie.

Ross

-----Original Message-----
From: Oleg Kalnichevski [mailto:olegk@apache.org] 
Sent: Friday, June 27, 2003 3:43 PM
To: Commons HttpClient Project
Subject: RE: Cookie Issues

Ross,

> However I noticed in my proxy traces the browser put all the cookies in
one
> line instead of separate lines for each cookie.  Could that cause a
problem?
> 

Try using strict mode. In strict mode all cookies are sent as one
'Cookie' header.

cheer

Oleg



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


Mime
View raw message