Skip to main content

[webtier] Re: Webcontainer Session Timeout - Default Value?

1 reply [Last post]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Jan Luehe

On 01/26/09 06:24, wrote:
> Thank you, Jan;
> But how/where is this configured/described? Say if i want to set it to 60 minutes to all webappliations deployed, how to do that?

The default session timeout (30 minutes) is documented in the GlassFish
Developer Guide, see

Currently, it is documented "indirectly", via the "timeoutSeconds"
session property in sun-web.xml. I could not find any documentation of
the default in web.xml, but I may not have looked in
all places. Cc'ing June.

If you wanted to change the default session timeout to 60 minutes and have
it take effect for all webapps, I suggest you add a session-config
element to
the domain's default-web.xml, as follows:


Let me know if you have any questions about this approach.



> Ivo
> [Message sent by forum member 'jdrive' (jdrive)]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail: