File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Servlet sessions........ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet sessions........" Watch "Servlet sessions........" New topic
Author

Servlet sessions........

senthil narayan
Greenhorn

Joined: Jan 25, 2002
Posts: 13
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..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Servlet sessions........