config-persistent-sessions
Configures the persistent sessions ("remember me") feature.
config-persistent-sessions
[-c value | --configuration=value]
[-b value | --bootstrap-config=value]
[-e <true|false> | --enabled=<true|false>]
[-t value | --expiration-time=value]
[-s <true|false> | --sliding-expiration=<true|false>]
Overview
Use this command to configure the persistent sessions feature. Persistent sessions allows users to be remembered after a successful login. This means that the user will not have to log in again for a period of time (even if the user, for example, closes the browser).
Note: This feature is only applicable when using username and password based authentication.
Note: This feature is currently only applicable for users (such as
Spotfire Web Player users) logging in through a web browser. To configure the behavior of the
Spotfire client, use the
config-login-dialog command.
Note: Persistent sessions can be invalidated using the
invalidate-persistent-sessions command.
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Optional | configuration.xml | The path to the server configuration file. |
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
Optional | true | Specifies whether the persistent sessions feature should be enabled. |
|
Optional | 2592000 | Specifies the time in seconds until a persistent session will expire and the user will have to re-authenticate. |
|
Optional | false | Specifies whether the expiration time should be reset each time the user is authenticated using the persistent session cookie. Note that setting this to "true" means that the user may actually never have to log in again. |
Parent topic: Command-line reference
Related concepts