[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-commons-dev
Subject:    Re: authenticated URLs
From:       Oleg Kalnichevski <olegk () apache ! org>
Date:       2004-05-31 12:09:18
Message-ID: 1086005358.14697.15.camel () localhost ! localdomain
[Download RAW message or body]

Himanshu,

My guess is that your application does not preserve the HTTP state
(HttpState instance containing the session cookie) between the method
invocations. Please make sure you keep the same instance of HttpState
for all the subsequent calls after a successful login

Oleg

On Mon, 2004-05-31 at 13:31, Himanshu Pathak wrote:
> Hi All,
> 
> We have managed to access a authenticated website using HTTPClient, but 
> the elements (like images, javascript, links) doesn't seems to be 
> working and are redirecting to the login page again.
> 
> I can access the same correctly in a normal browser.
> 
> Please suggest what shall we do in this context.
> 
> Regards.
> Himanshu.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic