PDA

View Full Version : Session Timeout



njrfrens
Jun 24th, 2009, 01:47 PM
My web application has timeout parameter configured in my web.xml.

I want to log the details when the application times out.
How can I handle this using acegi?

I thought of extending HttpSessionContextIntegrationFilter and overriding destroy method. But when the session times out, that method is not getting executed.

Is there any other way?

njrfrens
Jun 24th, 2009, 01:49 PM
Without acegi, I can handle by writing a lister class extending HttpSessionListener and configuring my listener in web.xml.

is this the only approach? or any other better ways of doing so?

Requesting you to throw some light on it... please!