tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: Tomcat 5.X always creates session for every request?
Date Wed, 17 Nov 2004 11:33:50 GMT
By default JSP's need to be told to *not* ask for a session via
<%@page session='false'%>

Otherwise - it sounds like a cookie setting issue that the client isn't 
remembering the sessionid.


LAM Kwun Wa Joseph wrote:

> I have implemented a simple HttpSessionListener dumping every new session
> created. I found that my Tomcat (tried on 5.0.2x and 5.5.4) will always
> create a new session for every HTTP request, even if the JSP page doesn't
> request for session and the HTTP client doesn't use cookie nor post any
> session ID (e.g. direct telnet to port 80).
> Are there any config params that relate to this? Thanks!

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

View raw message