How to Achieve a Timeout in Webcenter Spaces?

(Doc ID 1547940.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version and later
Information in this document applies to any platform.


The Webcenter Spaces session needs to timeout after 20 minutes.
The SampleWebcenterSpaces extensions is being used for sesssion timeout (
However, even after changing the timeout to 1200 seconds, Webcenter Spaces session gets invalidated after about 25minutes.

The following settings are being used:
int secsTimeout = session.getMaxInactiveInterval();
// CUSTOMER - time in seconds before the value in web.xml to expire the session
int secondsBefore = 1200;

What needs to be changed/set to get this to timeout after 20 minutes?


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms