Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 73496 invoked from network); 14 Aug 2002 12:49:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Aug 2002 12:49:21 -0000 Received: (qmail 20985 invoked by uid 97); 14 Aug 2002 12:49:22 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 20969 invoked by uid 97); 14 Aug 2002 12:49: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 20957 invoked by uid 98); 14 Aug 2002 12:49:21 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <016d01c24390$6e401400$5cfaa8c0@Hornet> From: "Mark O'Driscoll" To: "Tomcat Users List" References: Subject: How to keep track of sessions Date: Wed, 14 Aug 2002 13:45:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I am trying to keep track of the current sessions that are active in my web application. I have a HttpSessionListener that is correctly called on sessionCreated/sessionDeleted. I keep a reference to each session in the servletContext as a Vector. If tomcat is restarted then the sessions are persisted fine. However my vector of sessions is lost so I have no record of sessions that were created during a previous tomcat run. Any idea how I could find or keep the list of previously created sessions? Is there any way I can find a list of the current sessions without keeping a list (that would be my preference) TIA - Mark -- To unsubscribe, e-mail: For additional commands, e-mail: