You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by ailon <ai...@21cn.com> on 2007/08/30 16:14:28 UTC

[T5]How can I change session expired time?

Hi All,

How can I change session expired time?


Thank you in advanced

Guoguo Long.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5]How can I change session expired time?

Posted by Allen Guo <el...@gmail.com>.
Marcus 写道:
> Hi,
>
> Use WEB-INF/web.xml:
>
>     <session-config>
>         <session-timeout>15</session-timeout> <!-- minutes -->
>     </session-config>
>
> This apply to any Servlet Container (not a Tapestry configuration).
>
> Marcus
>
>   
Thanks a lot

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T5]How can I change session expired time?

Posted by Marcus <mv...@gmail.com>.
Hi,

Use WEB-INF/web.xml:

    <session-config>
        <session-timeout>15</session-timeout> <!-- minutes -->
    </session-config>

This apply to any Servlet Container (not a Tapestry configuration).

Marcus

Re: [T5]How can I change session expired time?

Posted by Marcos Chicote <to...@gmail.com>.
in the web.xml there something like

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

change that number.

On 8/30/07, ailon <ai...@21cn.com> wrote:
>
> Hi All,
>
> How can I change session expired time?
>
>
> Thank you in advanced
>
> Guoguo Long.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: [T5]How can I change session expired time?

Posted by Daniel Jue <te...@gmail.com>.
I think you have to do that in your container (Tomcat, etc).

On 8/30/07, ailon <ai...@21cn.com> wrote:
>
> Hi All,
>
> How can I change session expired time?
>
>
> Thank you in advanced
>
> Guoguo Long.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>