Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 70766 invoked from network); 5 Jan 2010 19:22:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2010 19:22:54 -0000 Received: (qmail 95326 invoked by uid 500); 5 Jan 2010 19:22:50 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 95241 invoked by uid 500); 5 Jan 2010 19:22:50 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 95230 invoked by uid 99); 5 Jan 2010 19:22:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 19:22:50 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 19:22:42 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NSEyy-0007Pd-VT for users@tomcat.apache.org; Tue, 05 Jan 2010 11:22:20 -0800 Message-ID: <27026693.post@talk.nabble.com> Date: Tue, 5 Jan 2010 11:22:20 -0800 (PST) From: Kris Reid To: users@tomcat.apache.org Subject: Re: Pipelining Problem after Form Authentication with Firefox and Status Code 408 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: krisreid80@gmail.com References: Did you find a solution? I've got the same issue Derek-52 wrote: > > Hello, > > I have some troubles with firefox and form authentication running on > Tomcat 5.0.28. > It happens as followed: > > User requests restricted Page and is redirected to a LoginServlet > which forwards the request to a Login.jsp. Nothing special here. > Instead of logging in, the user waits, for as long as the configured > session timeout e.g. 5 Minutes. > After 5 Minutes he try to log in. The session is already expired an > Tomcat answers with Status Code 408. > Status Code 408 should be handled by an error-page configured in the > web.xml. > > 408 > Error.jsp > > > With IE7 ore Safari i see ONE Request in my Tomcat Access Logfile, > answered with a 408, and then the Error Page is displayed. > In Firefox 2.0.5 however, not ONE but TEN requests are made. All are > answered with 408, but not the Error Page is displayed, but a default > file not found status code 404 (j_security_check not found) is > displayed. > > If I then configure an error-page for status code 404 it gets even > stranger, and after all request were made, firefox displays its > standard "The connection was reset" page. > > As far as i understand the problem, firefox with enabled pipelining > sends multiple requests after the session expired and tomcat can not > handle those requests. > > What i don't understand is, why firefox sends so many requests? > Can i control this behavior by setting some response headers? I > already tried Pragma: no-cache and > Cache-Control: no-cache,no-store,must-revalidate? > Or meta-tags in the html of the Login.jsp? > > Another interesting side effect is, that even so the server answer > with a 408, the JDBC Realm successfully authenticates the user. And > if you click the back button in the Browser you get to the actual > requested page without further Logins. > But i guess, thats another question .... > > Any help is appreciated, > > Derek > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > > ----- http://www.kremsoft.com Kremsoft - Software Development -- View this message in context: http://old.nabble.com/Pipelining-Problem-after-Form-Authentication-with-Firefox-and-Status-Code-408-tp12066543p27026693.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org