Yeah I got that thanks. I was looking at the wrong web.xml. I want 
conf/web.xml right?

P.




In my web.xml, I have (as a child of <web-app>), these lines.
    <session-config>
        <session-timeout>
            30
        </session-timeout>
    </session-config>

This is in minutes.

David

On 11/21/2002 12:32 AM, [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]>
>
>
>
>



Reply via email to