wood burning stoves*
The moose likes JSP and the fly likes Session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Session" Watch "Session" New topic
Author

Session

charu latha
Ranch Hand

Joined: Aug 20, 2002
Posts: 67
My requirement is pretty simple "everytime i visit the login page my old session values should be reset and the session should be started afresh"
Any ideas???
Kripal Singh
Ranch Hand

Joined: Jul 26, 2001
Posts: 254
Try using the invalidate() method offered by Session . http://www.jspinsider.com/reference/jsp/jspsession.html#invalidate
[ October 24, 2002: Message edited by: Kripal Singh ]

# Help an unprivileged kid.<br /> Whatever u do will make a difference...<br /> ...to a child's life & ur own #<br /><a href="http://www.cry.org/" target="_blank" rel="nofollow">www.cry.org/</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session
 
Similar Threads
Doubt on session() and session(false)
session
object dies when redirect=true
session object
Test 484 ... LONG POST