How administrators define persistent session options | HCL Digital Experience
As an administrator, you can configure the persistent session behavior.
About this task
You do so by setting the following properties:
- persistent.session.option
- This property determines whether the login portlet displays a check box that enables the user to decide whether to resume the session or not. For details, go to Setting service configuration properties.
- persistent.session.level
- Use this property to determine which navigational state information you want to be restored when users resume their session. You can choose from three predefined levels. For details, go to Setting service configuration properties.
- timeout.resume.session = (false)
- This property determines whether resuming the session after a
session timeout requires user authentication. The default value is
false
. If you set this property tofalse
and the user tries to continue working after a session timeout, the portal shows an error message that states that the session timed out and the user must log in again. If you set this property to true, the portal ignores the session timeout and does not show the error message. The user can then resume the previous session without authentication and continue to work. In both cases, the previous session is resumed according to the setting of thepersisted.session.level
property that is listed earlier.Note: If the propertywps.portlets.resumeSession
listed next is set to the valuetrue
, the portal resumes the user session independent of the setting oftimeout.resume.session
. - wps.portlets.resumeSession
- You can write custom code to pass in a special parameter that
is named
wps.portlets.resumeSession
with a value oftrue
to resume a user session. If you use this option, it overrides the value set by thetimeout.resume.session
configuration property that is listed earlier.