RE: Persistent Sessions

2003-08-14 Thread Yansheng Lin
if HttpSessionActivationListener is the same thing or not. But from the spec, it sounds more like a persistent thing. Stand to be corrected:) -Original Message- From: Kal Govindu [mailto:[EMAIL PROTECTED] Sent: August 5, 2003 11:54 AM To: Tomcat Users List Subject: RE: Persistent Sessions

Re: Persistent Sessions

2003-08-05 Thread Jon Wingfield
: 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 as all

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 Kal

Persistent Sessions

2003-08-04 Thread Kal Govindu
I am trying to clean-up ( invalidate ) all the session when Tomcat is restarted for any reason. I have the following Tag in my server.xml. The session created for my web application still seem to persist, is there another place or way the session is being store or persisted? Please help, thanks

RE: Persistent Sessions

2003-08-04 Thread Shapira, Yoav
go through the list and invalidate all the remaining sessions. Yoav Shapira Millennium ChemInformatics -Original Message- From: Kal Govindu [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 11:09 AM To: Tomcat Users List (E-mail) Subject: Persistent Sessions I am trying to clean-up

RE: Persistent Sessions

2003-08-04 Thread Kal Govindu
= 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 Howdy, Consider a container-independent approach instead: write an HttpSessionListener that's also

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, Thank you for you suggestion, I have

RE: Persistent Sessions

2003-08-04 Thread Shapira, 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 using the sessionWillPassivate event to invalidate

RE: Persistent Sessions

2003-08-04 Thread Kal Govindu
on 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 invalidate

How to disable persistent sessions

2003-04-04 Thread Thomas . Gaudin
Hi, I think this question has already been asked but not answered, so I submit it again. How can I disable persistent sessions in tomcat ? Why is it enabled by default ? thanks, Thomas - To unsubscribe, e-mail: [EMAIL

Re: How to disable persistent sessions

2003-04-04 Thread Jacob Kjome
/4/2003 +0200, you wrote: Hi, I think this question has already been asked but not answered, so I submit it again. How can I disable persistent sessions in tomcat ? Why is it enabled by default ? thanks, Thomas - To unsubscribe, e

Persistent sessions and connectors

2003-02-26 Thread Alan Sparks
I'm having problems getting persistent sessions to work. I have Apache 1.2.27, Tomcat 4.0.6, and mod_webapp.c,v 1.36. I've configured persistent sessions under the /examples context, using a JDBCStore (and MySQL for testing). When I use the http://hostname:8080/examples/servlet/SessionExample

Disable persistent sessions

2002-06-28 Thread Jaque Sara
Does anyone know how to disable persistent sessions in tomcat? I tried setting saveOnRestart=false in the server.xml but it didn't work. Jaque -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Persistent Sessions

2002-01-23 Thread Matt Goyer
I know that the docs warn 'Use of this Manager implementation has not been thoroughly tested, and should be considered experimental!' but has anyone tried using persistent sessions on a production site? Alternatively, without persistent sessions is there a way to restart tomcat without losing

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 not been

RE: Persistent Sessions

2002-01-23 Thread Matt Goyer
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, Matt Goyer wrote