aspose file tools*
The moose likes JSP and the fly likes session tracking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "session tracking" Watch "session tracking" New topic
Author

session tracking

Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 356
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


SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: session tracking
 
Similar Threads
session tracking
Another question about sessions
session replication
destroying session when user closes browser
Cookies and session tracking