session cleanup

2000-07-24 Thread Gharse, Samir (Exchange)
I have some threads running continuously in a session. I need to stop those threads on session exit. If the user goes through my logout screen, it works fine...but if the browser is closed by the user, though the session is killed the threads still remain active. I have tried to use HttpSessi

Re: session cleanup

2000-07-24 Thread Lee Collins
ay be able to give more detail if needed. Lee >From: "Gharse, Samir (Exchange)" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: session cleanup >Date

Re: session cleanup

2000-07-24 Thread Gharse, Samir (Exchange)
, July 24, 2000 4:03 PM > To: [EMAIL PROTECTED] > Subject: Re: session cleanup > > Samir, > > What I have done in the past is to have an additional thread running who's > job it was to invalidateSessions and free related resources. > > You need an object to hold a r

Re: session cleanup

2000-07-25 Thread Lee Collins
Here is the Code in 3 files. SessionMonitor.java - the monitor object itself SessionMonitorListener.java the listener interface YourServlet.java - example servlet to show how you would use a SessionMonitor in your Servlet. SessionMonitor.java ///