Configuring the Display of a Warning Message for Inactive User Sessions

Understanding Inactive Users and Time-out Warnings

Inactive users are logged off their Web applications when their sessions are inactive for 30 minutes or for the amount of time specified by the administrator in the web.xml files. Before logging out inactive sessions, you can alert users about the impending logoff by displaying a warning message. When the warning message is displayed, users can click the Continue button to activate and extend their sessions. The following applications support the display of a warning message:
  • SAS Web Report Studio
  • SAS Information Delivery Portal
  • SAS BI Dashboard
  • SAS Package Viewer
  • SAS Shared applications
  • SAS Preferences
  • SAS Web Administration Console
  • SAS Stored Process
If you want to specify a different session time-out interval for each SAS application, complete this task for each SAS application by defining the App.SessionTimeoutWarningInterval property and a custom value in minutes.

Step 1: Configure the SAS Application Infrastructure

To configure the SAS application infrastructure:
  1. Log on to SAS Management Console.
  2. On the Plug-ins tab, select Application Managementthen selectConfiguration Manager, right-click SAS Application Infrastructure, and select Properties.
  3. In the SAS Application Infrastructure Properties dialog box, click the Advanced tab.

Step 2: Set the Interval for the Inactive Session Warning

This set of steps is optional. If you do not specify a value for the App.SessionTimeoutWarningInterval, a default value of 5 minutes applies to the Policy.DisplaySessionTimeoutWarning property. The value specified for the App.SessionTimeoutWarningInterval must be smaller than the value or values specified for session time-out intervals in the web.xml files.
To set the interval for the inactive session warning:
  1. Click Add to define a new property.
  2. Enter App.SessionTimeoutWarningInterval in the Property Name field.
  3. Enter the number of minutes for the inactive session warning in the Property Value field and click OK.

Step 3: Enable the Inactive Session Warning

To enable the inactive session warning:
  1. Click Add to define another new property.
  2. Enter Policy.DisplaySessionTimeoutWarning in the Property Name field.
  3. Set the value to true and click OK.
To enable these properties to take effect, restart the Web application server.