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
, 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
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
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
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
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
---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:
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
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,
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
10 matches
Mail list logo