Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session count of Web application

 
Jai Sund
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic