tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject RE: criteria for a session
Date Thu, 08 Jan 2004 09:04:22 GMT

3) Request contains no session id (URL/Cookie)
4) Request contains invalid session id (URL/Cookie)

Have a look at
- isRequestedSessionIdFromCookie
- isRequestedSessionIdFromUrl
- isRequestedSessionIdValid
- getRequestedSessionId
in HttpServletRequest to find out if the request
contains a session id and if it belongs to the same 
session as the first window.

> -----Original Message-----
> From: G√ľnter Kukies [mailto:guenter.kukies@heuft.com]
> Sent: Thursday, January 08, 2004 9:52 AM
> To: tomcat-user@jakarta.apache.org
> Subject: criteria for a session
> 
> 
 
> what are the criteria for tomcat 4.1.26 to say the session is 
> null (((HttpServletRequest)request).getSession(false))?
> It seams to depend on something in the request.
> 
> When i open a second new IE Window, not a child from the 
> first IE Window, the session is null. I dontt call 
> session.invalidate() and the timeout is not reached.
> 
> I know that there are only two reasons for invalidate a session. 
> 1) session.invalidate();
> 2) session timeout
> 
> I thought these where the only reasons.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message