Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 65903 invoked from network); 6 Oct 2005 16:55:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2005 16:55:53 -0000 Received: (qmail 99010 invoked by uid 500); 6 Oct 2005 16:55:38 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 98893 invoked by uid 500); 6 Oct 2005 16:55:37 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 98882 invoked by uid 99); 6 Oct 2005 16:55:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 09:55:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of elihusmails@gmail.com designates 72.14.204.198 as permitted sender) Received: from [72.14.204.198] (HELO qproxy.gmail.com) (72.14.204.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Oct 2005 09:55:41 -0700 Received: by qproxy.gmail.com with SMTP id o12so370924qba for ; Thu, 06 Oct 2005 09:55:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DAyrgiXNEsPMPfQMkYP9wUYR8lJ8Z2fEr3WuIly6guLsXPI27YQSs8ZmOPZeP1fltufHeE9YLB5MQKffJXkbqiU7ipn6a45uWdyivUsglknsjfGZE2f6N1Iv0JtzCtnIY25mj7A/j7KslxYbf8DATY83I/Hdgztyg+y916NrGqw= Received: by 10.64.193.1 with SMTP id q1mr1010068qbf; Thu, 06 Oct 2005 09:55:15 -0700 (PDT) Received: by 10.64.209.10 with HTTP; Thu, 6 Oct 2005 09:55:15 -0700 (PDT) Message-ID: <9f066ee90510060955l2da37f1cg148e3bfb1b8caae4@mail.gmail.com> Date: Thu, 6 Oct 2005 12:55:15 -0400 From: Mark Reply-To: Mark To: Tomcat Users List , Leon Rosenberg Subject: Re: custom session manager In-Reply-To: <327858f40510060846g14e7b643ta51e656f65af403d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <0E071FA35418D811970500508BBB98190A5B0F@ganymed.allocation.net> <327858f40510060846g14e7b643ta51e656f65af403d@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N There is one problem with this approach. Load balancing/clustering.=20 If you have a HashMap in one tomcat JVM, how does that information get propogated to other JVM's possibly on other machines? Thank you by the way for all the inputs so far.... On 10/6/05, Leon Rosenberg wrote: > On 10/6/05, Tobias Meyer wrote: > > The problem is AFAIK, that you cannot access the list of all sessions > > through the servlet-api. > > That feature was in the servlet-api at some time, but was removed, IIRC= due > > to security issues. > > > > If you have a list of all sessions, you can easily iterate over them at > > login and manually expire all old sessions for the same user. =3D> Max.= one > > active session per user. > > ok, got you, yes that's feasible > thanx for explanations > leon > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org