Reset all JSP Session variables
843838Dec 27 2005 — edited Jan 24 2010Hi
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