Perhaps this is a silly question, but I would like to be able to kill a
session... not just invalidate it.. so that I can start up a new session
over and over from a test machine.  Trouble is, even when I invalidate a
session with the following code:

HttpSession httpSession = request.getSession(true);
httpSession.invalidate();

the next time I call:
HttpSession httpSession = request.getSession(true);

it pulls the exact same session and re-activates it.  This forces
httpSession.isNew() to return false, so I can't set any of the new user info
that I intended to set.  The only way I can get this to work is to wait for
the timeout.

Isn't there another way besides invalidate() or waiting for timeout to kill
an HttpSession?

-Kimball



Click HERE to get this card     For your own FREE card, click here



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to