>>> Rao Santapur <[EMAIL PROTECTED]> 28-Apr-00 7:38:37 AM
>>>
>Could some one tell me how to list all the sessions which
>are active at a particular instance? I guess the interface
>HttpSessionContext can be used for this, but API doc says,
>it has been deprecated with no replacement.
>Could some one suggest an alternative way out please....??
Check on the archives but the way I normally do it is to double
reference.
ie: every time I create a session I put a reference to the objects I
put in a session elsewhere (ie: outside the session manager).
I can then do what ever I like with them, as long as I delete them
when the session gets collected.
Note: you only need this technique very rarely. It's a *very* good
idea to avoid this sort of thing if you possibly can.
Nic Ferrier
___________________________________________________________________________
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