I also had the same requirement and tried using a sessiontag available in
apache-jakarta site
but not to of any use .
I'll be glad to know if you succeed in this.(presently i am using a batabase
approach only).


----------------------------------------------------
        V.T.R.Ravi Kumar
Engineer,CCX,BHEL, Haridwar
Phone : Office-91-01334-285260
             Res  -91-01334-226121
-----------------------------------------------------
----- Original Message -----
From: "Roland Dong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 01, 2003 12:32 AM
Subject: How to get values of all session variable--application wide?


> I am trying to implement a admin jsp page which display all ACTIVE users
at
> the moment.  Is it possible to somehow use session mechnism to implement
> that?
>
> For example:
>
> User  A login with the user name "UA"  and  that user name is stored in a
> session variable  "loginName".  the current time is stored in a session
> variable "curTime"
>
> User B login with the user name "UB"  and  that user name is stored in a
> session variable  "loginName".  the current time is stored in a session
> variable "curTime".
>
> User C.....
>
> User D.....
>
> I  want the active user 's login name to be displayed:
>
> User currently logined in                 Logged in Since
> ---------------------------------    ----------------------
> UA                                            .........
> UB                                            ........
> UC                                            .......
> UC                                            ........
>
>
> Is it possible to implement this without resorting to databse? say using
> httpsession listener?
>
> Thanks a lot!
> RD
>
>
===========================================================================
> 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://archives.java.sun.com/jsp-interest.html
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>  http://www.jguru.com/faq/index.jsp
>  http://www.jspinsider.com

===========================================================================
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://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to