A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
killing a session based on sessionId
Joined: Feb 08, 2007
Dec 04, 2007 03:14:00
How to kill a session based on the sessionId ?
SCJP 1.4 & 1.5, SCWCD 1.5. Learn and Let Learn.
Joined: Dec 11, 2004
Dec 04, 2007 03:26:00
There is no way to look up a session based on its ID.
There used to be but the methods have been deprecated.
If you can describe what you are trying to accomplish, I might be able to steer you toward a solution.
How to ask a question...
Simple Servlet Examples
It is sorta covered in the
JavaRanch Style Guide
subject: killing a session based on sessionId
Finding Session and Killing it
Getting "HttpSession" object
How to identify a session?
Is a session ID from 2 separate JVMs unique?
How to know the sessionID is alive ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015