The best way to do this is to go ahead and invalidate the session or let it timeout, then use request.getSession(false).
Usually there is only one entry point for session creation. In there you can do a request.getSession() and everywhere else you would use request.getSession(false) and test to see if the session has already been removed by checking for NULL.
-Tim
-----Original Message-----
From: Frank Diakovasilis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 11:17 AM
To: [EMAIL PROTECTED]
Subject: removing session from browser

Anybody know how to remove a session from a user. Not to invalidate it, but to remove the sessionid cookie, so that next request does not show an invalid session, but no session at all.

Reply via email to