Can you not put the values into two vectors in the application context and make it accessible from the admin pages only? Regards, Partha
-----Original Message----- From: V.T.R.Ravi Kumar [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 11:03 AM To: [EMAIL PROTECTED] Subject: Re: How to get values of all session variable--application wide? 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 ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* =========================================================================== 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