jkteater
asked on
Checking to see if the session is valid and not NULL
How can I check to make sure that my session is valid and not null?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You cann printa arrayy of names:
String [] ss = session.getValueNames();
for(String s: ss)System.out.println(s);
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks to Both of you
:)
ASKER
HttpSession s = req.getSession(false);
System.out.println( s.toString());