Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 85195 invoked from network); 7 Feb 2006 15:04:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Feb 2006 15:04:24 -0000 Received: (qmail 64320 invoked by uid 500); 7 Feb 2006 15:04:19 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 64103 invoked by uid 500); 7 Feb 2006 15:04:18 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 64092 invoked by uid 500); 7 Feb 2006 15:04:17 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 64089 invoked by uid 99); 7 Feb 2006 15:04:17 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 07:04:17 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id 4598ECB; Tue, 7 Feb 2006 16:03:55 +0100 (CET) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 37356] - Tomcat does not invalidate sessions after session-timeout period has passed. In-Reply-To: X-Bugzilla-Reason: AssignedTo Message-Id: <20060207150355.4598ECB@ajax.apache.org> Date: Tue, 7 Feb 2006 16:03:55 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=37356 ------- Additional Comments From tm@allocation.net 2006-02-07 16:03 ------- (In reply to comment #8) > Do you mean that wo browsers use the same session to access a page, or just the > ( quite usual ) case that two people use the web application? > > A: not the same session. Different IE browser will generate differnt session > ID. > > That means in the included application B and C you get the session from > application A? > > Application != context for you? > > A: yes. Ok, so you can replicate the error if: 1. you have two or more simultaneous users accessing a page in your web application. 2. you have more than one application (servlet / jsp) within the same context, so the session stays the same through all requests. 3. one of your servlets includes the output from other servlets/jsps Did I get that right? > > > So it seems that the common ground for all of us here is, that we have some > objects in the session that implement the HttpSessionBindingListener or > HttpSessionActivationListener. > > A: I did not put any object implement the HttpSessionBindingLisener or > HttpSessionActivationListener in the session. > Ah - I had thought so, because you mentioned you remove the objects from the session when it expires. The only way known to me to do this is to implement one of those Interfaces (can't remember which one currently) > > I think with different thread ( when include the page in other application), > when it will operate the session object, it will not synchronize the session > object (or its filed accessCount). > That seems reasonable. If the access count is not properly synchronized it will indeed become screwed eventually. Yet it is strange that it will only occur in our application if we use the ajp13 connector with SSL requests. SSL on tomcat standalone - everyting OK. Plain http through Apache httpd (Linux) with ajp13 - everything OK SSL through Apache httpd (Linux) with ajp13 - No Session timeouts SSL through IIS with ajp13 - No Session timeouts Basically the same application on all machines... I'll try and stress-test my testserver a little and see if I can reproduce it with enough simultaneous requests -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org