You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andre Jahn <An...@JahnSoftware.de> on 2004/03/03 13:31:54 UTC

Active Session Count

Hello All,
I try to get the number of active sessions for a particular application 
with  the getActiveSessions().
My problem is, that I get allways a 0 back.
What am I doing wrong?




Here is the sourcecode :

StandardManager manager = new StandardManager();
manager.setPathname("/app");
		
System.out.println ("xxxx" +manager.getActiveSessions()+" / 
"+manager.getPathname()+" / "+manager.getSessionCounter());



Kind Regards,

Andre Jahn




-- 
Mr. Andre Jahn
Jahn Software Consulting
URL: www.JahnSoftware.de

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