tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <m...@ceti.pl>
Subject Re: Tomcat stops invalidating sessions after session expiry
Date Wed, 14 May 2008 02:04:47 GMT
pg1691 wrote:
> We have implemented HttpSessionListener in our application.  In that
> listener we are doing some special code on sessionDestroyed(mainly closing connection
with oracle database).

Why do you want to store db connections within a session? If you use 
single db user for every request you should rather use connection pool.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message