You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark Muffett <ma...@muffett.net> on 2001/11/05 10:59:22 UTC
Session information
How can I find out what sessions Tomcat (v4) thinks are still active? - ie
ones it would recognise if a response came in with the right cookie or url.
Thanks for any help
Mark
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Session information
Posted by longinus <lo...@zeus.polsl.gliwice.pl>.
Do you know were applets should be put in TOMCAT server?
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Session information
Posted by "Craig R. McClanahan" <cr...@apache.org>.
There are no method calls in the servlet API that let you find this out.
However, you could create your own mechanism by registering an
HttpSessionListener that is notified every time a session is created or
destroyed. You can use those event notifications to maintain your own
list of active sessions.
See the "Application Events" chapter in the Servlet 2.3 Specification for
more details <http://java.sun.com/products/servlet/download.html>.
Craig
On Mon, 5 Nov 2001, Mark Muffett wrote:
> Date: Mon, 5 Nov 2001 09:59:22 -0000
> From: Mark Muffett <ma...@muffett.net>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: tomcat-user@jakarta.apache.org
> Subject: Session information
>
> How can I find out what sessions Tomcat (v4) thinks are still active? - ie
> ones it would recognise if a response came in with the right cookie or url.
>
> Thanks for any help
>
> Mark
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>