Spotfire® Server and Environment - Installation and Administration

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

Note: These settings normally only affect open browser tabs containing administrative tools on the server and not the behavior of inactive library or web client analysis tabs. The exception is the explicit logout option which will affect all Spotfire tabs in your web browser.

Procedure

  1. 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.)
  2. 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.

  3. Import the configuration file back to the Spotfire database by using the import-config command.
  4. Restart the Spotfire Server.