A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: May 18, 2005
Mar 16, 2007 09:24:00
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)
Joined: Dec 11, 2004
Mar 16, 2007 11:20:00
It's not hard to implement something like this yourself using session listeners.
I have an example app that does this at:
Look for SessionMonitor
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: session tracking
destroying session when user closes browser
Cookies and session tracking
Another question about sessions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014