On 18/10/2012 14:34, Felipe Jaekel wrote:
> I need to get the active session list. Searching about I saw a lot of
> people with the same question, but no answer.
> 
> I don't want to write a list inside a HttpSessionListener and keep the
> session list there, because I use session serialization and the list inside
> the listener would be destroyed in case the server is restarted.
> 
> I'd like know which class does the Manager Application uses to get the
> session list, so I can use it in my application too.

Have you looked at the Tomcat source code?

The short answer is from an implementation of the Manager interface but
that won't really help you as you need to get a reference to the correct
Manager instance. How to do that should be apparent from the
ManagerServlet source code but feel free to ask here if you need some
pointers.

Mark


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

Reply via email to