In some cases, Integrity logs off a user when it does not recognize activity for more than 20 minutes. Changing the session time-out value in Internet Services Manager or other web server utilities does not change the Integrity session time-out definition. The ASPX scripts in Integrity run as an ASP.NET application. Therefore, the session time-out value is controlled by the .NET Framework instead of Internet Information Services (IIS).
To change the Integrity session time-out value, set the new value in the web.config file located where you installed Integrity, C:\Program Files (x86)\PAS\Integrity by default. If you increase the session timeout to a value greater than 20 minutes, you also need to increase the idle time-out for the DefaultAppPool application pool.
To change the Integrity session time-out value:
-
On the Integrity server, use a text editor to open the InstallPath\web.config file.
-
Change the value of the timeout attribute for the sessionState element to the designated number of minutes. For example, to change the session time-out to one hour, change the timeout attribute value to 60 as illustrated in the following example, which does not show all the attributes:
<sessionState mode="InProc" ... timeout="60" />
Entries in the web.config file are case sensitive and take effect immediately. You must use sessionState, and you cannot use sessionstate.
-
Save the InstallPath\web.config file.
-
If you increased the session timeout attribute to a value greater than 20, increase the idle time-out for the DefaultAppPool application pool by completing the following steps:
-
On the Integrity server, click Windows Start > Run.
-
Type inetmgr, and then click OK to start Internet Information Services (IIS) Manager.
-
In the left pane, expand the local computer.
-
Select the Application Pools node to display DefaultAppPool in the right pane.
-
Right-click on DefaultAppPool, and then click Advanced Settings.
-
In the Process Model section of the Advanced Settings window, change the value for the Idle Time-out (minutes) field to a number that is greater than or equal to the session timeout value you defined in the web.config file.
-
Click OK.
-