I think you can also retrieve them via JMX

Regards

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

> thanks Thomas ☺
>
> 2016-01-18 10:02 GMT+01:00 Thomas Scheffler <thomas.scheff...@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-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
>

Reply via email to