I enable the logging for "info", but did not get any message on the
console. And the cookies still are not handled automatically.

>>> [EMAIL PROTECTED] 6/26/2003 9:17:57 PM >>>
> Is there an automatic way to handle cookies?
According to whatever less I know about HttpClient, this is the
default
behavior. Cookies are handled automatically. If you put the logging on
as given on the link
http://jakarta.apache.org/commons/httpclient/logging.html you will see
some entries like
Set-Cookie: Name=...
Which means that HttpClient is handling cookies for you.

HTH.

Regards,
Amit.

> -----Original Message-----
> From: Zulfi Umrani [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 27, 2003 7:12 AM
> To: [EMAIL PROTECTED] 
> Subject: Cookie
> 
> Does any one know how can I manage cookies without having to get the
> cookies from HttpState and setting it back everytime I make a
request?
> Is there an automatic way to handle cookies? Alternatively, how do I
put
> a cookie header on PostMethod? I have string representation of the
> cookie, I would like to set that as a header on PostMethod. At
present
> it does not allow me to do so.
> 
> Thanks.
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] 
> For additional commands, e-mail:
> [EMAIL PROTECTED] 


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


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

Reply via email to