Setting web client idle time behavior by using the command line
In administrator apps (e.g., Monitor & Diagnostics, Nodes & Services, etc.) user inactivity is detected individually for each opened browser window and users will be redirected to another page at the end of the configured idle session timeout. A dialog is by default displayed to inform the user about the inactivity, but you can configure the behavior in different ways.
About this task
Procedure
- Open a command-line interface and export the active configuration (the configuration.xml file) by using the export-config command. (For details on using the Spotfire command line, see Executing commands on the command line.)
-
On the command line, enter one of the following commands.
- To disable the
web client idle time behavior:
config set-config-prop -n security.web-client-idle-timeout.enabled -v false
- To change the
time for when the inactivity dialog should be displayed:
config set-config-prop -n security.web-client-idle-timeout.display-time-seconds -v XX
where XX is the number of seconds before the actual timeout that the information dialog should be visible. Default is 120 seconds.
-
To perform an explicit logout rather than redirecting to a static page:
config set-config-prop -n security.web-client-idle-timeout.explicit-logout -v true
Note that this option will also lead to explicit logout from the library app and web client analyses.
Also note that because an inactive browser window may log out a user in other opened browser windows, this option is typically only practical where users should only have one active window opened at a time.
- To disable the
web client idle time behavior:
- Import the configuration file back to the Spotfire database by using the import-config command.
- Restart the Spotfire Server.