On Tue, 2004-04-20 at 19:47, Greg Nieman wrote:
> I could be wrong here, but off the top of my head I seem to recall
> that you only see url rewriting in Tomcat if you have disabled
> cookies. Otherwise all session activity uses cookies. You may want
> to take a look in the server.xml in one of the context entries for the
> attribute cookies="false". If you are using auto deployment there is
> usually a <DefaultContext/> element that specifies a set of global
> attributes to use for all automatically deployed webapps. Otherwise
> it would be in the <Context></Context> entry that was manually entered
> for your webapp.
>
> It's somewhat easier than programmatically manipulating your url's.
Tomcat will use URL re-writing if the user has cookies disabled
as well, and there is no way to turn that off if you in fact want
the server (tomcat) to maintain a session. Otherwise it will
not be able to relate one request to the next and you will
get a new session with each URL. In other words, "cookies=false"
means "never use cookies/always use URL rewriting", while
"cookies=true" means "use cookies if supported and enabled by client
browser, and URL re-writing otherwise".
Robert Fries
Objective Synthesis
>
>
> Greg Nieman
>
>
>
> ______________________________________________________________
> From: Brian Engel [mailto:Brian.Engel@xxxxxxxxxxxx]
> Sent: Tuesday, April 20, 2004 1:21 PM
> To: users@xxxxxxxxxx
> Subject: [cinjug-users] Tomcat Question
>
>
> Does anybody know if there is a way to "turn off" URL
> Rewriting in Tomcat for session ID's?
> i.e. So that ;jsessionid=blah doesn't get appended to the URL.
>
>
> Thanks....
>
--
-rgf
|