I try to invalidate sessions which are inactive during 20 minutes I thought that session-timeout works fine I use a java class which implements HttpSessionBindingListener to destroy the connections made to the database when the container invalidate the session after 20 minutes of inactivity In fact there are connections in the the database which were created by sessions that was more 20 minutes of inactivity I saw explanations about the way used by Tomcat to invalidate sessoins : it invalidate only when it is in need of memory So now i hope that the use of setMaxInactiveInterval will give the solution Before using this in production environment ( where the problem appears) i send these mail to know if any body succeed in using this way to really invalidate sessions after a given time of inactivity I am working under Windows 2000 - Tomcat 1.4.31 - jdk 1.4 Thanks a lot
Jean-Claude Serlet INSEE- CNIL Service Développement 03.20.62.89.74 [EMAIL PROTECTED]