How to increase the idle session time in CA Workload Automation DE Web Client?

Document ID : KB000014446
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

If the Web Client login session is idle for 20 minutes, an alert message is displayed. You must to click "OK" to continue with the session. Otherwise, the session gets timed out after 5 minutes.

Question:

How to increase the amount of idle time before a login session gets timed out?

Environment:
Workload Automation DE 12.0 SP1
Answer:

You cannot disable it, but you can increase this value, if necessary. Please follow the procedure below:

1- Open the "<web_client_install_dir>\apache-tomcat\webapps\deui\common\scripts\config.js" file. 


2- Search for the "idle:20" string:

-----------------------------------------------
.constant('System', {autoRefreshInterval:20000,defaultAlias:'DEFAULT',devMode:false,mock:false,mockApiPath:'../test/data',apiPath:'/dewebui/api',buildNo:'local',server:'localhost',port:7500,integSrv:'https://localhost:8443/dewebui',idle:20,timeout:5,idleInterval:10,installedtime:1490292998797,version:'12.0.01.00-1548',pages:{login:'../login/#/',index:'../main/#/dashboard',admin:'../main/#/conn',documentation:'https://docops.ca.com/display/WLADEWEB/CA+Workload+Automation+DE+Web+Client+-+Home'}})
-----------------------------------------------


3- Replace the value with a higher one of your choice. (i.e: idle:360) :

-----------------------------------------------
.constant('System', {autoRefreshInterval:20000,defaultAlias:'DEFAULT',devMode:false,mock:false,mockApiPath:'../test/data',apiPath:'/dewebui/api',buildNo:'local',server:'localhost',port:7500,integSrv:'https://localhost:8443/dewebui',idle:360,timeout:5,idleInterval:10,installedtime:1490292998797,version:'12.0.01.00-1548',pages:{login:'../login/#/',index:'../main/#/dashboard',admin:'../main/#/conn',documentation:'https://docops.ca.com/display/WLADEWEB/CA+Workload+Automation+DE+Web+Client+-+Home'}})
-----------------------------------------------


4- Restart the Web Client service.