>I'm trying to figure out how to capture the number of active sessions on my
>site, but am not sure how.
Enumeration activeSessionids = session.getSessionContext().getIds();
will give you ids of all active session.
Note: HttpSessionContext is deprecated interface in JSDK2.2.
-Shiraz
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets