I'm using only servlets, but I also did try the session tracking via
HttpSession session = request.getSession(true);
 ....
Apache keeps switching between tomcat1 and 2 after each reply from the 
browser,
and in tomcat 'session.isNew()' returns always 'true'.

So this also didn't solve the problem, I think it's some configuration
I've missed in apache like 'keepalive' or someplace else.




Ralph Einfeldt wrote:

>If you don't use cookies you have to 
>encode the form action:
>
><FORM action="<%= response.encodeUrl("/servlet/myservlet") %>"
>method="POST">
>
>That's always recommended, as it up to the 
>surfer if he enables or disables cookies.
>
>  
>
>>-----Ursprüngliche Nachricht-----
>>Von: Christoph Fischer [mailto:[EMAIL PROTECTED]]
>>Gesendet: Mittwoch, 14. August 2002 09:00
>>An: Tomcat Users List; Ralph Einfeldt
>>Betreff: Re: AW: Apache+Tomcat+mod_jk
>>
>>
>>Thanks for the reply,
>>
>>I did define the jvmRoute, but that didn't solve the problem.
>><Engine jvmRoute="tomcat1" name="Standalone" defaultHost="localhost" 
>>debug="0">
>>
>>My form is looking like that:
>><FORM  action=/servlet/myservlet method=POST>
>>...
>>I don't use cookies, anyhow can cookies solve the routing problem to
>>stick with the tomcat I started the session with?
>>
>>Thanks
>>Chris
>>
>>Ralph Einfeldt wrote:
>>
>>    
>>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>  
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to