On Sun, 07 Dec 2003 12:39:46 +0530, Baljinder Singh wrote:
> How can I detect that session has expired and so throw the user out of
> system after showing him a message that "Your session has expired. Please
> login again."


javax.servlet.http.HttpSessionListener

http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSessionListener.html
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Servlets4.html

You can listen to when the session is about to be destroyed.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to