tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: Apache, mod_jk and Tomcat looses sessions
Date Mon, 07 Aug 2006 16:57:40 GMT
are you rewriting the URLs in each of the pages to maintain the session?
each URL should get modified as a result:

/path/to/file.jsp;jsessiond=0000000000?q=param

what's your jk config?

(unless i've missed something, and given that most people seem to get
this to work OK, it's probably a problem with your setup rather that a
bug...)


Markus wrote:
> Markus wrote on Monday, July 31, 2006 5:39 PM:
>> Markus wrote on Monday, July 31, 2006 5:34 PM:
>>> I've got the following problem on one server using Apache 2.0.54-5
>>> (Debian x86) with mod_jk 1.2.15 (self-compiled) and tomcat 5.5.17: I try
>>> to 
>>> create a redirect to a page with a session-id if there is no session.
>>> Seems to be easy, but in combination with apache/mod_jk my servlet
>>> redirects unlimited because it doesn't recognizes the created session.
>>> Attached you'll find the code (please don't wonder why there are some
>>> methods, I've extracted the code from a very big servlet). If I am
>>> using the Servlet directy with tomcat on the same host there is no
>>> problem. 
>>>
>>> Help would be great!
>> Hm, attached source seems to be removed, put it here:
>> http://www.dlite.de/42/TestServlet.java
>>
>> Btw: Cookies are disabled, this is importand.
> 
> FYI: Created 
> http://issues.apache.org/bugzilla/show_bug.cgi?id=40203
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message