Apache, mod_jk and Tomcat looses sessions
- From: "Markus" <mlist (at) dlite.de>
- Date: Mon, 31 Jul 2006 21:59:40 +0200
Christopher Schultz wrote on Monday, July 31, 2006 9:54 PM:
>>> If the session is mandatory, I recommend changing:
>>>
>>> request.getSession(false)
>>> to
>>> request.getSession(true)
>>
>> Thanks for your quick answer. The problem I want to solve is only to
>> create a session if it is really needed, so #redirectToURLWithSID is a
>> little bit more complicated that this.
>
> What is your definition of "is really needed"? I would say that NOT
> having a session is a good indication that you SHOULD create one. Am I
> missing the point?
Not having a session results in not sending cookies nor sids and thats what
I want, at least for pages where it isn't needed.
--
Beste Grüße / best regards Markus Meissner
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org