You can also set it in your jsp code, you can look it up in the apis. Comes bundled with tomcat it does.

[EMAIL PROTECTED] wrote:

Regarding timout and web.xml..my web.xml looks like this:

<web-app>
<display-name>Welcome to Tomcat</display-name>
<description>
Welcome to Tomcat
</description>
</web-app>

In other words has not been adjusted a great deal. I could sit here for hours and guess what the tag name is/are, and whether the arguement must takes milliseconds, seconds, minutes etc. What form are these two settings I am looking for? I would like the server to set session lifetime to server life i.e the session is persistent as long as the server is switched on.

Thanks again

Paul.







The session lifetime (timeout) is defined in the web.xml for the application. Look after the servlet mappings.

David

On 11/20/2002 11:59 PM, [EMAIL PROTECTED] wrote:


Thanks Gents, that's great. One last thing. Where is session in the API?
I
can't see httpSession anywhere. I am looking for session settings to define session life span etc.

Thanks

paul.




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






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

Reply via email to