You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beehive.apache.org by Adam Jenkins <aj...@infocomp.com> on 2005/12/01 01:14:55 UTC

login session timeout value?

How do you change the session timeout values?  I'm using a custom login
example similar to the loginexample in the samples directory...but it logs
me out every minute or so.

What's the easiest way to change this setting?

Cheers
Adam

Re: login session timeout value?

Posted by Rich Feit <ri...@gmail.com>.
Hey Adam,

Try putting this in web.xml, after the last <servlet-mapping> element:

    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>

That would cause a timeout of 30 minutes.

Hope that helps,
Rich

Adam Jenkins wrote:

>How do you change the session timeout values?  I'm using a custom login
>example similar to the loginexample in the samples directory...but it logs
>me out every minute or so.
>
>What's the easiest way to change this setting?
>
>Cheers
>Adam
>
>  
>