You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Victor Kirk <Vi...@serco.com> on 2003/06/06 12:49:33 UTC

Session timeout problems

Hi,

I'm having problems with sessions timing out almost instantly.
When I log in I get the page I requested, but if I then follow
a link from that page I have to log in again.  Sometimes the
browser doesn't even manage to get the stylesheet.  However
if I access the site from the machine that tomcat is installed
on it works fine.

I'm using tomcat 4.0.4 on windows 2000 professional (service
pack 2), with jsee 1.4.1_01.  Also installed is Oracle 9.2
which is used for authentication.

The web-app installation is just a copy of the software from
our development machine, a similar installation worked fine.

My server.xml contains:

  <Connector className="org.apache.catalina.connector.http.HttpConnector"
             port="8888" minProcessors="5" maxProcessors="75"
             enableLookups="true" redirectPort="8443"
             acceptCount="10" debug="0" connectionTimeout="600000"/>

and my web.xml for the application contains:

  <session-config>
    <session-timeout>600000</session-timeout>
  </session-config>

I've tried various timeouts, including ridiculously high values,
0 and negative values.  Anyone have any ideas what is wrong?

Regards,

Vic
--
Victor Kirk
Analyst
Serco Integrated Transport
Tel: +44 (0)1287 611225
Fax: +44 (0)1287 610360
--

This message, including attachments, is intended only for the use by the
person(s) to whom it is addressed. It may contain information which is
privileged and confidential. Copying or use by anybody else is not
authorised. If you are not the intended recipient, please contact the sender
as soon as possible. The views expressed in this communication may not
necessarily be the views held by Serco Integrated Transport.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org