aspose file tools*
The moose likes Servlets and the fly likes How to find the total number of sessions in my web application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to find the total number of sessions in my web application?" Watch "How to find the total number of sessions in my web application?" New topic
Author

How to find the total number of sessions in my web application?

Namitha karupaiya
Ranch Hand

Joined: Mar 10, 2004
Posts: 89
How to find the total number of sessions (total number of current users) in my web application?

Thanks.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Most Servlet containers will provide monitoring applications. You can just look at the information those supply.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Namitha karupaiya
Ranch Hand

Joined: Mar 10, 2004
Posts: 89
I am hosting my web application in a Glassfish server. How can I view total number of sessions in a Glassfish?

Thanks.
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684

Use HttpSessionListener for count total number of sessions in your web application...

HttpSessionListener ..


Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1



[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to find the total number of sessions in my web application?
 
Similar Threads
how much memory used by session?
Session Invalidate problem
Servlet thread pool management with JMX
Tomcat and Database Sessions
Number of active session in Tomcat4.1 instance