HttpClient handles cookies by default. For more details please see http://jakarta.apache.org/commons/httpclient/cookies.html. If the cookie guide does not help to resolve the problem please post a wire log containing the transaction in question.
Mike
On Thursday, June 26, 2003, at 07:09 PM, Zulfi Umrani wrote:
I enable the logging for "info", but did not get any message on the console. And the cookies still are not handled automatically.
Is there an automatic way to handle cookies?[EMAIL PROTECTED] 6/26/2003 9:17:57 PM >>>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.
request?-----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 aIs there an automatic way to handle cookies? Alternatively, how do Iputpresenta cookie header on PostMethod? I have string representation of the cookie, I would like to set that as a header on PostMethod. Atit 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
