Hello all,
 
I've a little problem.
I'm using tomcat 4.0, and have written a HttpSessionListener servlet.
Everything is smooth as long as the sessionCreated event is handled, but the sessionDestroyed event never happens... Or so it seems.
The default session-timeout is defined in the web.xml, and is set to 30 seconds.
The servlet writes "debug" information into the window of tomcat (using System.out), and it works for the sessionCreated event, but does not seem to do anything for the sessionDestroyed event.
 
Is this a known bug, (conclusion drawn from the quick release of tomcat 4.0.1 after 4.0) or am I missing something somewhere?
 
I am attaching a JDBC database connection to each user logging on to the site, and I would like to close those connections when the users' sessions time out.
To no avail, at the moment...
 
Any ideas?

Reply via email to