Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 38328 invoked from network); 16 May 2003 12:59:41 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 16 May 2003 12:59:41 -0000 Received: (qmail 3200 invoked by uid 97); 16 May 2003 13:01:48 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 3193 invoked from network); 16 May 2003 13:01:47 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 16 May 2003 13:01:47 -0000 Received: (qmail 36843 invoked by uid 500); 16 May 2003 12:59:22 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 36827 invoked from network); 16 May 2003 12:59:21 -0000 Received: from unknown (HELO mustang.mpi.com) (63.244.250.132) by daedalus.apache.org with SMTP; 16 May 2003 12:59:21 -0000 Received: from thunderbolt.mpi.com (thunderbolt.mpi.com [199.93.192.55]) by mustang.mpi.com (Switch-2.2.6/Switch-2.2.6) with ESMTP id h4GCxKb23429 for ; Fri, 16 May 2003 08:59:20 -0400 (EDT) Received: from US-VS1.corp.mpi.com (us-be1.corp.mpi.com [199.93.195.20]) by thunderbolt.mpi.com (Switch-3.0.4/Switch-3.0.0) with ESMTP id h4GCx0T3018289 for ; Fri, 16 May 2003 08:59:20 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: logging number of sessions Date: Fri, 16 May 2003 08:58:05 -0400 Message-ID: <9C5166762F311146951505C6790A9CF8A6E4A8@US-VS1.corp.mpi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: logging number of sessions thread-index: AcMbP4+4hgWzBwBMTnmdH+bDMQ7oUgAayAVw From: "Shapira, Yoav" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Howdy, That's what I would do... A simple SessionContextListener that keeps a= n integer count of sessions, incrementing in sessionCreated() and decrementing in sessionDestroyed(). The better question is why do this? Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Jacob Kjome [mailto:hoju@visi.com] >Sent: Thursday, May 15, 2003 8:12 PM >To: Tomcat Users List >Subject: Re: logging number of sessions > > >Using the various servlet 2.3 session listeners, maybe? > >Jake > >At 10:00 AM 5/16/2003 +1000, you wrote: >>Hi all, >> >>Can anyone advise what would be the best way to log the number of sessions >/ >>application (4.1.24) ? There must be a better way than scraping the= >>/manager page for the data ... >> >>regards, Toby. >> >> >>--------------------------------------------------------------------= - >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org= This e-mail, including any attachments, is a confidential business com= munication, and may contain information that is confidential, propriet= ary and/or privileged. This e-mail is intended only for the individua= l(s) to whom it is addressed, and may not be saved, copied, printed, d= isclosed or used by anyone else. If you are not the(an) intended reci= pient, please immediately delete this e-mail from your computer system= and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org