Tomcat 5.X always creates session for every request?

2004-11-17 Thread LAM Kwun Wa Joseph
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

Re: Tomcat 5.X always creates session for every request?

2004-11-17 Thread Tim Funk
By default JSP's need to be told to *not* ask for a session via [EMAIL PROTECTED] session='false'% Otherwise - it sounds like a cookie setting issue that the client isn't remembering the sessionid. -Tim LAM Kwun Wa Joseph wrote: I have implemented a simple HttpSessionListener dumping every new

Re: Tomcat 5.X always creates session for every request?

2004-11-17 Thread sven morales
You may want to check how your browser interprets the encoded URL. Compare what has been sent to the browser and what went back towards Tomcat. I was assisting another person the other day and we found out that the cookie is mangled, the ~ was not urlencoded to %7.. something. I am not saying

Re: Tomcat 5.X always creates session for every request?

2004-11-17 Thread Peter O'Reilly
TEST POST, SORRY sven morales [EMAIL PROTECTED] wrote: You may want to check how your browser interprets the encoded URL. Compare what has been sent to the browser and what went back towards Tomcat. I was assisting another person the other day and we found out that the cookie is mangled,