Controlling session timeouts (classic)
Overview
To prevent Cross-Site Request Forgery (CSRF), Portal sessions are time-limited and protected by secure tokens.
By default, a token remains valid for 8 hours. If you are inactive for more than 8 hours while in a Portal session, your next action in Portal redirects you to the login page.
By default, sessions are valid for 24 hours. After continuously using Portal for 24 hours, the session expires, and you must log in again to renew the session.
Setting token validity periods and session timeouts
Contact Nexthink Support to configure token validity periods and the maximum duration of sessions.
Long intervals make Portal vulnerable to CSRF attacks.
The following parameters control token validity and session durations:
Parameter | Default value | Description |
---|---|---|
|
| Sets the value for the validity time of portal session tokens. Minimum value: 5 minutes |
|
| Sets the value for the validity time of tokens. Minimum value: 5 minutes |
|
| Sets the value for the validity time of sessions. The value can be expressed in minutes, for example: |
Overriding session timeouts
You can grant users a special privilege that keeps them logged in indefinitely. The configured session timeout value does not affect such users.
For more information, refer to the Setting personal data and profile section in the Users documentation.
RELATED TASK
Last updated