Saikat Chatterjee typed the following on 12:06 15/12/2000 +0530
>Hello all,
> I have a question regarding 'timeout' period of a servlet.
>Is it possible for me to set this 'timeout' period of a servlet in
>Tomcat?There must be some configuration file where i can set this.
I'm not sure what you mean by timeout period for a _servlet_, but
the timeout period for _sessions_ can be modified in your web.xml
file:
<session-config><session-timeout>10</session-timeout></session-config>
The value is a whole number of minutes. Setting it to -1 means sessions
will never expire (not recommended!)
You can also change it dynamically by calling HttpSession.setMaxInterval(),
which takes a number of seconds rather than minutes.
Kief
---
bitBull makes the Internet bite: http://www.bitBull.com/demos/