You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Srinivas Malladi <Sr...@InstantDX.com> on 2005/05/10 13:06:34 UTC

FormLoginDemo

Hi,

I am trying Apache Http Client form example and it is redirecting to login
pages instead to the next page. Is there any bug in the FormLoginDemo.java?
I tried on three/four different login jsp pages and getting same problem.
I'm using Apache HttpClient3.0 version.


Thanks
Sri

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


Re: FormLoginDemo

Posted by "'olegk@apache.org'" <ol...@apache.org>.
I assume you did replace userid and password with something more
meaningful, didn't you?

Oleg


On Tue, May 10, 2005 at 07:06:34AM -0400, Srinivas Malladi wrote:
> Hi,
> 
> I am trying Apache Http Client form example and it is redirecting to login
> pages instead to the next page. Is there any bug in the FormLoginDemo.java?
> I tried on three/four different login jsp pages and getting same problem.
> I'm using Apache HttpClient3.0 version.
> 
> 
> Thanks
> Sri

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


Re: FormLoginDemo

Posted by Roland Weber <RO...@de.ibm.com>.
Hello Sri,

the problem is not in the demo. There are many different
ways to perform login and to track the session that gets
established on login. For example, the server may use
URL rewriting, or set a session cookie which may or may
not follow one or the other cookie spec. I doubt we can
solve your particular problem without further information,
like a wire log:

http://jakarta.apache.org/commons/httpclient/logging.html

cheers,
  Roland





Srinivas Malladi <Sr...@InstantDX.com> 
10.05.2005 13:06
Please respond to
"HttpClient User Discussion"


To
"'httpclient-user@jakarta.apache.org'" 
<ht...@jakarta.apache.org>
cc
"'olegk@apache.org'" <ol...@apache.org>
Subject
FormLoginDemo






Hi,

I am trying Apache Http Client form example and it is redirecting to login
pages instead to the next page. Is there any bug in the 
FormLoginDemo.java?
I tried on three/four different login jsp pages and getting same problem.
I'm using Apache HttpClient3.0 version.


Thanks
Sri

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