hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: HttpClient and cookies
Date Mon, 20 Oct 2008 17:08:24 GMT
On Mon, 2008-10-20 at 09:17 +0200, Reinhard Pagitsch wrote:
> Hello to all,
> 
>  From our webserver I get a session cookie in the form 
> POSESSIONID="dfgsdfgsdg="
> But the HTTPClient sends back the cookie in the form 
> POSESSIONID=dfgsdfgsdg=.
> Therefore no authentication is done. Is there a way to configure the 
> HttpClient to send back
> the session cookie as it is and do no modifications?
> 
> Thank you,
> Reinhard
> 

Reinhard,

You have two options
(1) fix the broken server side script
(2) implement a custom CookieSpec that formats cookies in the way
compatible with the broken server side script

Oleg


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> 


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


Mime
View raw message