tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Subir Sengupta <su...@walmart.com>
Subject RE: Any way to tell how many sessions exist?
Date Mon, 03 Jun 2002 21:39:34 GMT
Standard Manager has a findSessions() method, which will return an array of
all session in the Hashtable.

-----Original Message-----
From: Rick Mann [mailto:rmann@latencyzero.com]
Sent: Monday, June 03, 2002 4:20 AM
To: tomcat user jakarta.apache.org
Subject: Any way to tell how many sessions exist?


I wanted to write a JSP to display server stats. I was hoping to be able to
get all the sessions, show how many there were, what their ages were, etc.
But it appears that access to the collection of sessions has been deprecated
from the Servlet 2.3 API.

Is there a way to get at this info, preferrably in a container-independent
manner? I will settle for a Tomcat-specific solution.

TIA,

-- 
Rick



--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message