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=00?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
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 i
Christopher Schultz wrote on Monday, July 31, 2006 11:55 PM:
>>> Some part of your logic is missing: you do not have a case where it
>>> is known that you MUST create a session. Therefore, you never create
>>> a session. Your code tries and tries again (redirecting continuously)
>>> but never creat
Markus,
>> Some part of your logic is missing: you do not have a case where it is
>> known that you MUST create a session. Therefore, you never create a
>> session. Your code tries and tries again (redirecting continuously) but
>> never creates a session because you are not handling the case where
Christopher Schultz wrote on Monday, July 31, 2006 10:08 PM:
> Markus,
>
> 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
cr
Markus,
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
>>>
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
Markus,
>> 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
> mo
Christopher Schultz wrote on Monday, July 31, 2006 6:42 PM:
> Markus,
>
>>> 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
>>> se
Markus,
>> 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.
>>
>> Btw: Cookies are disabled, this is important.
It look
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 combin
Hi,
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 unli
12 matches
Mail list logo