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:[EMAIL PROTECTED]] > 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:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Felipe Schnack Analista de Sistemas [EMAIL PROTECTED] Cel.: (51)91287530 Linux Counter #281893 Centro Universitário Ritter dos Reis http://www.ritterdosreis.br [EMAIL PROTECTED] Fone/Fax.: (51)32303341 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>