How can I ensure that an inactive user will be logged out after a specified amount of time (for versions 2006 - 2006R2)?

0 Likes

Problem:

How can I ensure that an inactive user will be logged out after a specified amount of time (for versions 2006 - 2006R2)?

Resolution:

ANSWER
----------------------------------
To disable the KeepAlive functionality so that users are automatically logged out after a specified period of inactivity, go to "WWWROOT\SILKROOT\SCRIPT" in the installation directory on the Frontend Server and edit sc_script.js as follows:

Comment line 555 out using double slashes:

//sendSilentRequest(keepAliveUrl   "?"   d.getYear()   d.getMonth()   d.getDay()   d.getHours()   d.getMinutes()   d.getSeconds());


It is not necessary to restart the FrontEnd Server service for this change to take effect, but it may take some time until all users use this updated script file as this file is cached by the users browser. Pressing "Ctrl F5" will force the browser to reload it.

By default the timeout period will now be 30 minutes; this can be changed by editing the web.xml file.

The default location of this file is:


C:\PROGRAM FILES\BORLAND\SC TEST MANAGER 2006 R2\CONF\FRONTENDSERVER\CONF


To change the timeout period (or the length of time at which an inactive user will be logged out) you should change the value of "session-timeout", shown below:


30


After changing this value you will need to restart the FrontEnd Server service for the change to take effect.

Note for SilkCentral Issue Manager versions 4.0 - 4.1 please see the resolution:
How can I ensure that an inactive user will be logged out after a specified amount of time (for versions 4.0 - 4.1)?

Old KB# 23647
Comment List
Anonymous
Related Discussions
Recommended