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

Reply via email to