Enabling session persistence to a file
Session persistence is enabled in a server or
environment file.
Before starting this task, create a directory on the file system
that will be used to store persisted session information. If a server
cluster is used, the directory must be accessible by all nodes in the
cluster.
- Open the server or environment file to which you want to enable session persistence. The file opens in the editor window.
- In the Overview tab, click the Clustering/Session subtab.
- In the Session Timeout field, enter the amount of time to store persisted sessions, in minutes.
- Click the Persistent Session check box.
- In the Persistence Directory field, enter the name of the directory that will be used to store persisted session information.
- Configure the other session settings as required.
Important: The Persistent Session Timeout
property must be set to a larger value than the Session Timeout property
to avoid potential race conditions which may lead to unpredictable and
unexpected behaviour.