Re: Session handling in HttpClient

2008-11-11 Thread Oleg Kalnichevski
On Fri, 2008-11-07 at 03:48 -0800, Eugene Kondrashev wrote: I see.. But, how can I recognize the session id cookie? I am afraid I do not have any good news for you. In theory server can use any label to designate session id cookie. Is there some standard way to get sessionID cookie through

Re: Finding out the URL after a redirect

2008-11-11 Thread Amy de Buitléir
Thank you so much for your sample code, Oleg. I tried it, and it solves my problem perfectly.

Re: Finding out the URL after a redirect

2008-11-11 Thread sebb
On 11/11/2008, Amy de Buitléir [EMAIL PROTECTED] wrote: Is there a way to find out what URL a request was redirected to? Here's the scenario: 1. My code (client) does a GET http:/a/b/x 2. Server redirects to http://a/b/c/x (HttpClient handles the redirect) 3. Parsing the page, my code