Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reset all JSP Session variables

843838Dec 27 2005 — edited Jan 24 2010
Hi
can anyone help me to sort out this issue. I am in a JSP application which uses a number of sessions variables. the number of session variables used is depending on the pages which a user vistis after login in. but at the time of logout i hav to reset al these session variables. its difficult to reset each session by specifieing its name, bcoz the session variable names may change. so can i hav any method in java to reset all session variables without specifieing the name of a varible. that is i am asking for some function in JSP corresponding to session_unset();
session_destroy(); etc in PHP. reply ASAP
thanks in advance
aleena
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2010
Added on Dec 27 2005
4 comments
1,687 views