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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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: 676

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: 2896
    
    1



[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to find the total number of sessions in my web application?
 
Similar Threads
Session Invalidate problem
how much memory used by session?
Tomcat and Database Sessions
Number of active session in Tomcat4.1 instance
Servlet thread pool management with JMX