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:[EMAIL PROTECTED]
> Sent: Thursday, January 08, 2004 9:52 AM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to