tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Holloway <>
Subject Disabling session cookies
Date Wed, 28 Sep 2005 18:57:26 GMT
Hello all,

I'm trying to force a particular web application to use url-rewritting
in place of session cookies to manage the session on Tomcat 5.0.28.  I
have, per the documentation, set the cookies="false" attribute of the
Context container for that application.  However, the cookie is still
getting set.  If I set the same attribute (cookies="false") in the
DefaultContext container in server.xml, I get the desired result. 
This would be great if there weren't other applications that relied on
session cookies running on the same server.

My question is, is this a bug or is Tomcat not designed to use
different methods of maintaining session across different contexts? 
The existance of the attribute and the context level would seem to
indicate this is possible.  I've seen posts with the same problem in
my searching but no resolutions.

Thanks in advance for any suggestions or information.


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

View raw message