My Oracle Support Banner

The session-timeout Attribute of session-config is Ignored if the Value is 60. (Doc ID 3063421.1)

Last updated on DECEMBER 20, 2024

Applies to:

Oracle WebLogic Server - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

 

In Web Applications running on WebLogic, there are two similar parameters for session timeout:

 

According to the document, the "session-timeout" element in web.xml overrides the value of timeout-secs in weblogic.xml. That is, though, if both are set, the value of "session-timeout" in web.xml takes precedence, it is ignored when the value is 60.

 

-----------------------------------------------------
<session-timeout>
The number of minutes after which sessions in this Web application expire. The value set in this element overrides the value set in the TimeoutSecs attribute of the <session-descriptor> element in the WebLogic-specific deployment descriptor weblogic.xml, unless one of the special values listed here is entered.

Default value: 60

Maximum value: Integer.MAX_VALUE ÷ 60

Special values:

-1 = Sessions do not timeout. The value set in <session-descriptor> element of weblogic.xml is ignored.
---------------------------------------------------

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.