This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes Is there a way to enumerate all sessions in J2EE or only proprietary? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Is there a way to enumerate all sessions in J2EE or only proprietary?" Watch "Is there a way to enumerate all sessions in J2EE or only proprietary?" New topic
Author

Is there a way to enumerate all sessions in J2EE or only proprietary?

Dan Bizman
Ranch Hand

Joined: Feb 25, 2003
Posts: 387
Does J2EE Api provide a way to enumerate all the sessions in a web app or servletcontext? Or is the only way to do this to either implement it myself or via the web server's propreitary mechanism?
Lucas Lee
Ranch Hand

Joined: Oct 02, 2006
Posts: 53
You can use session listener to maintain a session list of whole application.
I did this before.
 
GeeCON Prague 2014
 
subject: Is there a way to enumerate all sessions in J2EE or only proprietary?