This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
invalidate a session
Joined: Oct 25, 2004
Mar 31, 2005 23:09:00
Do you know how to invalidate a user by using a session id in
Joined: Jan 24, 2005
Apr 01, 2005 00:01:00
You neednt have a session id to invalidate a session. Get a handle to the session using request.getSession(false) and on the session object returned, call the invalidate() method.
Joined: May 26, 2004
Apr 01, 2005 01:31:00
you can not invalidate user using session id.you can remove user from session..
session = request.getSession();
or you have to invalidate session..
It is sorta covered in the
JavaRanch Style Guide
subject: invalidate a session
How to invalidate session on the basis of session ID in servlet
Authentication with JDBCRealm - getUser() ?
How to delete a session by knowing the session id
Calling invalidate() on the session....
Ending a session?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014