I agree with Ben. In fact I need to know not the number of successful logins but how many users are connected in a particular moment.
Ben...can you tell me some hint or link on how to write a bean that tracks sessions and keeps a tally of active sessions? Thanks, Luca -----Messaggio originale----- Da: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]Per conto di Cramer Ben Inviato: venerd� 2 agosto 2002 16.11 A: [EMAIL PROTECTED] Oggetto: Re: How can I ckeck how many users are connected to a Web Site? That solution sounds as if you are only tracking log ins. So anytime you call that variable, it reports back the number of successful logins since the bean that instantiated the variable was created. I don' think that gets the job done. I am afraid that there isn't a JSP solution for this. However, you could write a bean that tracks sessions and keeps a tally of active sessions. On Thu, 1 Aug 2002 09:11:18 -0400, Bhiogade, Mittal S (SUPP) <[EMAIL PROTECTED]> wrote: >say u have login.jsp and loginservlet for it define a member in servlet say users , increment this value when user sucessfully logged in , that count will always give u number of >users connected to ur website > >Regards, >Mittal S.Bhiogade >GE-Supply, > >-----Original Message----- >From: Luca Ventura [mailto:[EMAIL PROTECTED]] >Sent: Thursday, August 01, 2002 9:09 AM >To: [EMAIL PROTECTED] >Subject: How can I ckeck how many users are connected to a Web Site? > > >Hello everybody! > >I would like to know if it is possible to know in any moment >how many users are connected to a Web Site. > >How can I do this? > >Thanks a lot in advance! > > Luca > > ========================================================================== >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 =========================================================================== 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
