RE: Persistent Sessions

2003-08-14 Thread Yansheng Lin
Tuesday, August 05, 2003 4:09 AM To: Tomcat Users List Subject: Re: Persistent Sessions Your HttpSessionActivationListener must be an object bound to the session. So, in your HttpSessionListener's sessionCreated method add the HttpSessionActivationListener to the session as an attribute. H

RE: Persistent Sessions

2003-08-05 Thread Kal Govindu
, August 05, 2003 4:09 AM To: Tomcat Users List Subject: Re: Persistent Sessions Your HttpSessionActivationListener must be an object bound to the session. So, in your HttpSessionListener's sessionCreated method add the HttpSessionActivationListener to the session as an attribute. HTH, Jon

Re: Persistent Sessions

2003-08-05 Thread Jon Wingfield
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 2:35 PM To: Tomcat Users List Subject: RE: Persistent Sessions Howdy, I'm sorry, I meant use an activation listener instead of the context listener to invalidate them. That should work. contextDestroyed() is too late

RE: Persistent Sessions

2003-08-04 Thread Kal Govindu
Tomcat4.1.12, if that matter. Thanks Kal -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 2:35 PM To: Tomcat Users List Subject: RE: Persistent Sessions Howdy, I'm sorry, I meant use an activation listener instead of the context listener to inval

RE: Persistent Sessions

2003-08-04 Thread Shapira, Yoav
apira, Yoav >Sent: Monday, August 04, 2003 3:32 PM >To: Tomcat Users List >Subject: RE: Persistent Sessions > > >Howdy, >It could be that my advice was slightly off in terms of timing: try to >substitute a SessionActivationListener instead of the SessionListener, >and u

RE: Persistent Sessions

2003-08-04 Thread Shapira, Yoav
decided to persist your session. Hmm... Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Kal Govindu [mailto:[EMAIL PROTECTED] >Sent: Monday, August 04, 2003 3:24 PM >To: Tomcat Users List >Subject: RE: Persistent Sessions > >Hi Yoav, > >Than

RE: Persistent Sessions

2003-08-04 Thread Kal Govindu
---Removing session : " + s.getId()); s.invalidate(); } log("contextDestroyed()"); this.context = null; } -Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 11:13 AM To: Tomcat Users List Subject:

RE: Persistent Sessions

2003-08-04 Thread Shapira, Yoav
Howdy, Consider a container-independent approach instead: write an HttpSessionListener that's also a ServletContextListener. Have it keep a static list of HttpSession objects, adding the session to the list on its creation and removing on its destruction. Then, have the contextDestroyed method g

RE: Persistent Sessions

2002-01-23 Thread Matt Goyer
p lists the same number of activate session as before shutdown. What am I missing? Thanks, Matt -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 23, 2002 2:21 PM To: Tomcat Users List Subject: Re: Persistent Sessions On Wed, 23 Jan 2002,

Re: Persistent Sessions

2002-01-23 Thread Craig R. McClanahan
On Wed, 23 Jan 2002, Matt Goyer wrote: > Date: Wed, 23 Jan 2002 14:14:14 -0500 > From: Matt Goyer <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Persistent Sessions > > I know that the docs warn 'Use of this Manager implementation has no