Session Expiry
1 posts in topic
Flat View  Flat View

Posted By:   Srinivas_Prabhu
Posted On:   Friday, October 22, 2004 10:51 PM

When session Expires, then a message has to be prompted as "session expired". How to know whether a session is expired or not .. or it is still active or not ?

Re: Session Expiry

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, October 23, 2004 07:50 AM

Try to do something with the session, like get an attribute, or even get the session id. If it is "expired", you will get an IllegalStateException. If you do not get an exception, then the session is still valid/not expired.
About | Sitemap | Contact