Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet sessions........  RSS feed

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to know how can we retreive all the active sessions in a server.I used the following code....
Enumeration e = getServletContext().getAttributeNames();
This gives all contexts but how will i get the active sessions.
URGENT...
THANKS..
 
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!