It is 30 minutes.  If I do request.getSession().getMaxInactiveInterval() I
get 1800 (seconds I guess) which is the correct value for 30 minutes. 

Michael

>-----Original Message-----
>From: Earnie Dyke [mailto:[EMAIL PROTECTED] 
>Sent: 15 February 2006 17:25
>To: Tomcat Users List
>Subject: RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)
>
>The META tags should not have an effect on cookies. Firefox 
>would not be the one that expires your session, Tomcat would. 
>Do you have a session timeout specified in your application?
>
>Earnie!
>
>-----Original Message-----
>From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, February 15, 2006 10:19 AM
>To: 'Tomcat Users List'
>Subject: RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)
>
>
>Hi Earnie,
>
>Cookies are allowed at the browser.  It seems for some reason 
>that at then end of loading each JSP firefox expires my 
>session.  I use some meta tags (<META 
>HTTP-EQUIV="Cache-Control" CONTENT="No-Cache">, <META 
>HTTP-EQUIV="Pragma" CONTENT="No-Cache">, <META HTTP-EQUIV="Expires"
>CONTENT="-1">) and also set the corresponding header values 
>using response.setHeader but even if I remove them nothing changes.
>
>Michael
>
>>-----Original Message-----
>>From: Earnie Dyke [mailto:[EMAIL PROTECTED]
>>Sent: 15 February 2006 17:10
>>To: Tomcat Users List
>>Subject: RE: Session Expires At Every Request (Tomcat5.0.28/Firefox)
>>
>>Are you blocking cookies at the browser?
>>
>>Earnie!
>>
>>-----Original Message-----
>>From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED]
>>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:[EMAIL PROTECTED]
>>>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 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; SV1; 
>>>.NET CLR 1.1.4322; InfoPath.1)
>>>host: localhost
>>>connection: Keep-Alive
>>>cookie: JSESSIONID=D79835F3D70ADD58F4770DD15B463320
>>>
>>>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=0.9,
>>text/plain;q=
>>>0.8,image/png,*/*;q=0.5
>>>accept-language: en-gb,en;q=0.5
>>>accept-encoding: gzip,deflate
>>>accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>>>keep-alive: 300
>>>connection: keep-alive
>>>cookie: JSESSIONID=A3893195B065989E5B03BC8681E4D0D6
>>>cache-control: max-age=0
>>>
>>>
>>>I wonder whether the keep-alive which exists in the case of
>>FireFox but
>>>not in the case of IE could be the cause of my problems.
>>>
>>>Michael
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: Michael Andreas Omerou [mailto:[EMAIL PROTECTED]
>>>>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 
>>>>runsin Firefox.
>>>>
>>>>Basically, what happens is that after I set in the session some 
>>>>attributes/beans which are needed down the application, I
>>>check in all
>>>>JSPs and servlets that an old session is still there by using
>>>>            if (request.getSession(false)==null){
>>>> 
>>>>response.sendRedirect(response.encodeRedirectURL("timeout.jsp"));
>>>>
>>>>            }
>>>>
>>>>With IE all works fine, however with Firefox, it seems that
>>>the session
>>>>is re-initialised whenever the client/browser requests a new
>>page.  I
>>>>checked this by printing the session id in the log on each page and 
>>>>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: [EMAIL PROTECTED]
>>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to