Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 90160 invoked from network); 15 Feb 2006 15:09:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Feb 2006 15:09:38 -0000 Received: (qmail 80119 invoked by uid 500); 15 Feb 2006 15:09:23 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 80106 invoked by uid 500); 15 Feb 2006 15:09:23 -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 80095 invoked by uid 99); 15 Feb 2006 15:09:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 07:09:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [199.233.16.1] (HELO aries.vrs.state.va.us) (199.233.16.1) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 07:09:21 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Session Expires At Every Request (Tomcat5.0.28/Firefox) Date: Wed, 15 Feb 2006 10:09:51 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Session Expires At Every Request (Tomcat5.0.28/Firefox) Thread-Index: AcYyEf+chhpg7cGZQLSkOTwLnci7JQADhmFwAAhGZVAAACfIAA== From: "Earnie Dyke" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Are you blocking cookies at the browser? Earnie! -----Original Message----- From: Michael Andreas Omerou [mailto:mao@simplexsoftware.com] Sent: Wednesday, February 15, 2006 10:06 AM To: 'Tomcat Users List' Subject: Session Expires At Every Request (Tomcat5.0.28/Firefox) Anybody has an idea what could be causing what I describe in the below = two emails? >-----Original Message----- >From: Michael Andreas Omerou [mailto:mao@simplexsoftware.com]=20 >Sent: 15 February 2006 13:10 >To: 'Tomcat Users List' >Subject: RE: Session Problems with Firefox > >Further to my below email I have put in some code to check the=20 >HTTP headers in each case (IE and FireFox). > >These are: > >IE >accept: */* >accept-language: en-gb >accept-encoding: gzip, deflate >user-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;=20 >SV1; .NET CLR 1.1.4322; InfoPath.1) >host: localhost >connection: Keep-Alive >cookie: JSESSIONID=3DD79835F3D70ADD58F4770DD15B463320 > >FireFox >host: localhost >user-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.12) >Gecko/20050919 Firefox/1.0.7 >accept: >text/xml,application/xml,application/xhtml+xml,text/html;q=3D0.9, text/plain;q=3D >0.8,image/png,*/*;q=3D0.5 >accept-language: en-gb,en;q=3D0.5 >accept-encoding: gzip,deflate >accept-charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7 >keep-alive: 300 >connection: keep-alive >cookie: JSESSIONID=3DA3893195B065989E5B03BC8681E4D0D6 >cache-control: max-age=3D0 > > >I wonder whether the keep-alive which exists in the case of=20 >FireFox but not in the case of IE could be the cause of my problems. > >Michael > > > >>-----Original Message----- >>From: Michael Andreas Omerou [mailto:mao@simplexsoftware.com] >>Sent: 15 February 2006 11:27 >>To: users@tomcat.apache.org >>Subject: Session Problems with Firefox >> >>Hello, >> >>I have some problems with session management when our application=20 >>runsin Firefox. >> >>Basically, what happens is that after I set in the session some=20 >>attributes/beans which are needed down the application, I=20 >check in all=20 >>JSPs and servlets that an old session is still there by using >> if (request.getSession(false)=3D=3Dnull){ >>=20 >>response.sendRedirect(response.encodeRedirectURL("timeout.jsp")); >> >> } >> >>With IE all works fine, however with Firefox, it seems that=20 >the session=20 >>is re-initialised whenever the client/browser requests a new page. I=20 >>checked this by printing the session id in the log on each page and=20 >>with IE it does not change, while with Firefox it changes. >> >>I checked my firefox settings for cookies and all look ok. >> >>Anybody has a clue of what I might be doing wrong? >> >>Regards, >>Michael >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>For additional commands, e-mail: users-help@tomcat.apache.org >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >For additional commands, e-mail: users-help@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org