Jen, Prior to Servlet 2.1 API we used HttpSessionContext.getIds(). This method returns Enumeration from which we could have find out what ever we want. But not its no more there.
Regards Bhushan -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of Jen Sent: Wednesday, February 19, 2003 12:43 PM To: [EMAIL PROTECTED] Subject: How to track the valid session number in the container Hi, all, I would like to know how many active valid sessions currently running in the container, ie how many users are using the system at the snapshot. How can I approache it? Thanks __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com ________________________________________________________________________ ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html