This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
jQuery in Action, 2nd edition
subject: Servlet sessions........
Similar Threads
Retrieveing all active sessions
Clarification on init() method of HttpServlet
session questions
Enumerate active sessions
Get session attribute values from all activated session's