Hi Nic,

Thanks for your reply..

I understand that, I can store the session objects some where as you said,
and also delete them as soon as the user logs out.

But I wonder what would be the case, if the connection is lost or user
closes the browser without properly logging out..??

-Rao


----- Original Message -----
From: Nic Ferrier <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 28, 2000 12:19
Subject: Re: Listing Active Sessions


> >>> 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
>

___________________________________________________________________________
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

Reply via email to