Serlet Jean-Claude wrote:
Hello
What i'm looking for is the answer to this question
Under Tomcat 5.5 _ Windows 2003 what happen to a session when there is a
sendRedirect(url) used ?
Is this session be invalidate ?
Thanks you
Jean-Claude
Session to my knowledge does not get invalidated on
response.sendRedirect( url ). If there is a problem, it might be you
need to use response.encodeURL( url ) as you send the redirect -- as in
response.sendRedirect( response.encodeURL( url ) ). Basically if the
client doesn't accept cookies or if tomcat doesn't know yet, it'll
encode the jsessionid on the end of your url to maintain the session.
--David
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]