This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session tracking

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to know how many active session are there in my web application.

One way is to keep track of the users and corresponding session ids where the user logs in.

The server also keeps track of all the active information. Is there some api to extract that kind of information from server
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's not hard to implement something like this yourself using session listeners.

I have an example app that does this at:
http://simple.souther.us/not-so-simple.html

Look for SessionMonitor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic