tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Schnack <feli...@ritterdosreis.br>
Subject RE: how do I detect alive sessions at this moment?
Date Fri, 24 Jan 2003 13:33:09 GMT
  You can list all active sessions if you application have the
"privileged" attribute set to true in server.xml and if you implement a
specific interface... I just can't remember which one right now, but you
certainly see how this can be done downloading the admin app sources...
  Just keep in mind giving privileges to your application a programmer
may do anything he wants with your tomcat server :-)

On Fri, 2003-01-24 at 11:23, Chris Ward wrote:
> Not sure if Tomcat will take care of this automaticly for you. What I do is have the
object I set in the session add it's self to a list in the sever context, and remove it's
self when the session expires. Then you will have a list of all sessions in one place.
> 
> Chris
> 
> -----Original Message-----
> From: Henry [mailto:henry@cafelab.com]
> Sent: Friday, January 24, 2003 6:24 AM
> To: Tomcat Users List
> Subject: how do I detect alive sessions at this moment?
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
-- 

Felipe Schnack
Analista de Sistemas
felipes@ritterdosreis.br
Cel.: (51)91287530
Linux Counter #281893

Centro Universitário Ritter dos Reis
http://www.ritterdosreis.br
ritter@ritterdosreis.br
Fone/Fax.: (51)32303341


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message