File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Session count of Web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Session count of Web application" Watch "Session count of Web application" New topic

Session count of Web application

Jai Sund

Joined: May 31, 2002
Posts: 9
Is there a way to query active sessions (count) of my web application. I want to ensure that when I'm logging out I invalidate the sessions.
I am using weblogic6.1. Would the weblogic console provide this functionality?
Hartmut Ludwig
Ranch Hand

Joined: Aug 31, 2002
Posts: 51
You can use the Application Events Framework to achieve this.
Here's the explanation. (look for and session-counts.jsp).
This works only for Servlet 2.2 spec.
Jai Sund

Joined: May 31, 2002
Posts: 9
Dear Harmut,
Thank you so much. This is going to be very useful for me. Appreciate the time you've taken to help answer this.
I agree. Here's the link:
subject: Session count of Web application
Similar Threads
expired sessions
How to find the total number of sessions in my web application?
How number of active Sessions count in Clustered server environment WAS7?
Session Invalidate problem
Users in a server