views:

601

answers:

3

I have a the following in my header.html:

<META HTTP-EQUIV="refresh" CONTENT="<%= session.getMaxInactiveInterval() %>; URL=/nmt/extranet/asp/error.jsp" />

and the following in my web.xml

  <session-config>
<session-timeout>60</session-timeout>

After an hour the session times out and redirects me to the error.jsp in IE and Opera but in Firefox it redirects me immediately. Does anyone know why this may be occurring or is there something wrong with the ?

Thanks in advance.

A: 

Is this just with one firefox install, or have you tried various other machines? Are you sure Firefox is passing the session cookies around correctly? Try the Live Http Headers firefox plugin to see what's going back and forth.

skaffman
I'm using firefox 3.0 on Fedora 10 and firefox 3.5 on WinXP. I will try out the plugin and let you know how it goes.
Chris Mattmiller
A: 

If you're putting the 60 directly into the META tag, that's seconds not minutes. The session timeout param is in minutes.

That said, it should work the same for all browsers.

chris
A: 

Sorry for bothering you guys. The header page was an html page instead of jsp. I works fine now.

Thanks for the answers though.

This is still the best place to ask a question and get good answers within a timely manner. :D

Chris Mattmiller