Session Monitor

You can specify that if a user of the application is inactive for a certain period of time, the user’s session will time out and automatically log the user out.

You can also specify when a warning dialog is to be displayed, informing the user that the session is about to time out. The user can click OK on this warning dialog to continue the session. If the user does not respond to the warning message, the session will time out in the specified period of time.

Also note that a time-out period can be specified on the server. The server time-out overrides the time-out specified here. That is, if the server time-out period is less than the time-out specified here, the server time-out is used instead.

Procedure

  1. Open the config.xml file.

    For information about how this file should be opened (i.e., via the Configuration Administrator or via the file system, see Introduction).

  2. Locate the SessionMonitor record in the config.xml file:

<record jsxid="SessionMonitor" timeout="30" warning="5" disable="false" type="Workspace" />

  1. Specify the record’s attributes as follows:
    • timeout - The number of minutes of user inactivity before the session will time out. The user is automatically logged out upon timing out.

      Minimum: 5

      Maximum: none

      Default: 30

    • warning - The number of minutes before the time out will occur that a warning dialog is displayed informing the user that the session is about to time out.

      Minimum: 1

      Maximum: 1/3 of the value specified for the time-out period.

      Default: 5

    • disable - Set to “true” to disable session monitoring—the application will not time out; set to “false” to enable session monitoring.

      Default: false

  2. Save and close the config.xml file.