"Duffey, Kevin" wrote:

> Not any more. Servlet 2.1 deprecated that ability. I don't know if Servlet
> 2.2 removed it..but due to security risks, they removed the ability
> (deprecated it) so that one session couldn't gain access to another.

It is still deprecated, but not removed so that binary compatibility doesn't get
broken.

> Its too
> bad because it would be nice to have the ability to search through all
> active sessions, display them, etc..like an Admin page where we can see
> where a person is on the site, how many people are active, logged in, etc.
>

All of those things can be accomplished with some appropriate coding (such as the
previous suggestion on this thread to maintain a collection in application scope
that is keyed by session id so you can access shared information).

Craig McClanahan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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

Reply via email to