Write a class that implements HttpSessionBindingListener. The add an instance of that object to your session. It will then be called when the session times out and the object is being removed from the session.

Ralph

Scott Yeadon wrote:

Can I do this as registered event processing (e.g. if the session times out, invoke the logout processing as part of the expiration processing?) or do I have to poll the session?

Scott.

Ralph Goers wrote:

You cannot detect the browser closing. However, you can detect session
timeout and invoke logout from that.

Ralph



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



Reply via email to