aspose file tools*
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
Author

Session count of Web application

Jai Sund
Greenhorn

Joined: May 31, 2002
Posts: 9
Hello,
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?
Thanks,
-Jai
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 SessionCounter.java and session-counts.jsp).
This works only for Servlet 2.2 spec.
sl
Hartmut
Jai Sund
Greenhorn

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.
-Jai
 
Consider Paul's rocket mass heater.
 
subject: Session count of Web application