Re: [Resin-interest] Session death in a cluster

2012-11-20 Thread Keith Fetterman
On 11/19/2012 12:32 PM, Matthew Serrano wrote: > 2. My database shows that some sessions seem to stay alive for days even > though there is clearly no activity on the session. We have seen this behavior in resin for years. Several years ago, we wrote an administration utility for our Web site

Re: [Resin-interest] Session death in a cluster

2012-11-19 Thread Eric Kreiser
As for #1, I have code in my SessionListener that first looks at the current thread and doesn't fire most of the work if it is the resin-destroy thread. This is a bit of a hack - anyone else find a cleaner way of handling this? thanks Eric On 11/19/2012 03:32 PM, Matthew Serrano wrote: > I

[Resin-interest] Session death in a cluster

2012-11-19 Thread Matthew Serrano
I have a web application that creates a session for every user who logs in and also tracks logins/logouts in a database. When the user logs out or when the session is destroyed (using a SessionListener), I attempt to update the database with the session destruction time. I experience two problem