When a user logs in, a new session is started.
Every subsequent request made to the server will use that same session. Sessions automatically expire when users have been inactive for 30 minutes. This prevents a session from staying open when a computer is set to sleep mode or when the software crashes.
Note: Time-outs for clients are checked on a regular interval of 5 minutes. This means that when the time-out of a session is set to 30 minutes, it will expire between 30 and 35 minutes since the last action.
HTTP / API Interfaces
Custom interfaces that use the Assets Server API do not keep their session alive by default. If required, this is easy to do by making an AJAX request to a URL on the Server every 5 minutes. A special URL is available for this purpose:
http://<Assets Server URL>/services/ping?uid=...
Note: Make sure to append a unique value to 'uid=' with each request to prevent it from being returned from the browser cache or a proxy cache.
Configuring session timeout
Configure the following settings in the cluster-config.properties.txt file.
Note: For information about how to edit this file, see Changing the Assets Server configuration for a running cluster.
The session configuration affects all sessions including API-calls, plug-ins, Assets, and Assets for InDesign.
Time-outs should not be shorter than 10 minutes to give the clients sufficient time to notify the Server that they are active.
# The timeout in minutes after which inactive users have to login again. # The timeout value must be greater than 10 minutes. # session.timeout=30
- 17 June 2022: Updated section 'HTTP / API Interfaces' by changing alive.txt to services/ping in the URL.