You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kaouthar Ghorbel <gk...@gmail.com> on 2016/01/18 09:35:40 UTC

ids of all active sessions

Hello everyone I want to retrieve the ids of all active sessions in the
servlet.

thanks for your help :)

Re: ids of all active sessions

Posted by João Sávio <jo...@gmail.com>.
I think you can also retrieve them via JMX

Regards

2016-01-23 9:05 GMT-02:00 Kaouthar Ghorbel <gk...@gmail.com>:

> thanks Thomas ☺
>
> 2016-01-18 10:02 GMT+01:00 Thomas Scheffler <thomas.scheffler@uni-jena.de
> >:
>
> > Am 18.01.16 um 09:35 schrieb Kaouthar Ghorbel:
> >
> >> Hello everyone I want to retrieve the ids of all active sessions in the
> >> servlet.
> >>
> >> thanks for your help :)
> >>
> >>
> > Hi Kaouthar,
> >
> > look for the HttpSessionListener and collect that information on your
> own:
> >
> >
> >
> https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpSessionListener.html
> >
> > regards,
> >
> > Thomas
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>

Re: ids of all active sessions

Posted by Kaouthar Ghorbel <gk...@gmail.com>.
thanks Thomas ☺

2016-01-18 10:02 GMT+01:00 Thomas Scheffler <th...@uni-jena.de>:

> Am 18.01.16 um 09:35 schrieb Kaouthar Ghorbel:
>
>> Hello everyone I want to retrieve the ids of all active sessions in the
>> servlet.
>>
>> thanks for your help :)
>>
>>
> Hi Kaouthar,
>
> look for the HttpSessionListener and collect that information on your own:
>
>
> https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpSessionListener.html
>
> regards,
>
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: ids of all active sessions

Posted by Thomas Scheffler <th...@uni-jena.de>.
Am 18.01.16 um 09:35 schrieb Kaouthar Ghorbel:
> Hello everyone I want to retrieve the ids of all active sessions in the
> servlet.
>
> thanks for your help :)
>

Hi Kaouthar,

look for the HttpSessionListener and collect that information on your own:

https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet/http/HttpSessionListener.html

regards,

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org