Amit, Sorry. It is indeed the log I was asking about.
If you cookie theory is right, I think before you execute POST request you have to make sure that you get the cookie set by the target host. You should execute a GET request to a URL that returns the cookie that the target host expects to find in your POST request. You will see something like 'Set-Cookie: whatever' in the wire log. Without knowing how that CGI script has been programmed, unfortunately I am unable to help you any further. Oleg On Wed, 2003-06-25 at 10:40, Amit Rana wrote: > Hello Oleg, > > Thanks for your response. > > > However, it is just a guess. We will be able to give more definitive > > answers if you provide us with the wire log of the HTTP session in > > question. > The file I attached in my last message in reply of Michael's comment > isn't that the log? > > That file contains the stdout after I followed the instructions given on > the link. > > Please feel free to point out if I need to do something else or if I > should resend the file. > > Regards, > Amit. > > > -----Original Message----- > > From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, June 25, 2003 5:34 PM > > To: Commons HttpClient Project > > Subject: RE: automatic management of cookie > > > > Amin, > > > > It is not quite clear what is going on there. My best guess it that > the > > cookie sent by the target host is malformed and as such rejected by > > HttpClient. > > > > However, it is just a guess. We will be able to give more definitive > > answers if you provide us with the wire log of the HTTP session in > > question. > > > > Please have a look at the logging guide for more details > > > > http://jakarta.apache.org/commons/httpclient/logging.html > > > > Oleg > > > --------------------------------------------------------------------- > 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]