File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet sessions........" Watch "Servlet sessions........" New topic

Servlet sessions........

senthil narayan

Joined: Jan 25, 2002
Posts: 13
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.
I agree. Here's the link:
subject: Servlet sessions........