Session timeout

Airlock Gateway provides a global setting to configure the session idle time in the GUI. We recommend to set a short session timeout in the GUI and set credentials with longer timeouts during the login process. For most use cases, this should be sufficient. For all other cases, the session idle timeouts can be modified using the command SESSION_TIMEOUT:

;; SESSION_TIMEOUT
timeout-command           = timeout-command-name "=" timeout-command-value
timeout-command-name      = "SESSION_TIMEOUT"
timeout-command-value     = value-in-seconds
value-in-seconds          = 1*DIGIT

Example:
The pseudo code example below shows how to modify the session timeout via the control API:

Pseudo code:

response.header="Set-Cookie: AL_CONTROL="+URL_Encode("SESSION_TIMEOUT=1800")

Results in:

Set-Cookie: AL_CONTROL=SESSION_TIMEOUT%3D1800