On 19/05/2011 11:17, chris derham wrote:
>>
>>
>> 2. The OP wants current sessions so a ServletContextListener that only
>> runs at context start and stop isn't going to help.
>>
> 
> I don't understand this - could you explain a little further, or point me to
> some docs? I thought when a context starts, sessions can start against it.
> How is this not going to help?

Assuming the OP needed to access the ServletContext to get the current
sesison count (which they don't - it won't help at all) then the OP will
want to access the current session count from a servlet. Being able to
access the ServletContext from a ServletContextListener is zero help
when you are in a Servlet.

Mark



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

Reply via email to