tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Wichman <>
Subject RE: sessionids through url rewriting
Date Tue, 29 Jul 2003 20:06:14 GMT
I was afraid you were going to say that ;-(. Guess I will built in a 
cookiecheck then...
At 01:29 PM 7/29/2003 -0600, you wrote:

>Since you are passing your session id through URL, the url string must contain
>the jsessionid parameter, i.e., you have to encode it.
>-----Original Message-----
>From: Hans Wichman []
>Sent: July 29, 2003 11:51 AM
>Subject: sessionids through url rewriting
>I've read in the servlets specs that tomcat must support session management
>through url rewriting, but nothing happens when I disable the cookies
>(testing in netscape 7, since ie 6 sp1 can't disable the cookies).
>I have one servlet, let's call it /myServlet, which implements a command
>like pattern wrapping a result generating application, for example I call
>the servlet with
>The servlet parses the command and arguments into command objects and
>passes them onto an instance of an application which is stored in each
>users session (each user has his own instance of the application), the
>application processes the request using templates blablahblah and the
>servlet gets all the generated content using getResult() dumping it into
>the output stream of the servlet.
>Where in this process should the automatic url rewriting occur? I haven't
>got a clue....
>Does my own request (see 1) overwrite any jsessionid that should
>automatically be added ? Is url rewriting only supported directly from
>hyperlinks in a jsp page?
>Hope anyone can help, I'm using apache tomcat/4.1.24 (and not 4.1.23 ;-))
>To unsubscribe, e-mail:
>For additional commands, e-mail:
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message