Skip to main content

Session

Description

Specifies the configuration for client sessions.

Properties

The following table(s) describe the configuration properties for this component:

Name Type Constraints Description
max_sessions number Minimum:1
Maximum:unlimited
Default:4096
The maximum number of concurrent sessions.
cookie_name string The name of the session cookie presented to clients.
timeout number Minimum:0
Maximum:unlimited
Default:3600
The maximum lifetime (in seconds) for a session. If set to 0 the sessions will not have a maximum lifetime, however once max_sessions is reached sessions will be reaped using a least recently used algorithm.
inactive_timeout number Minimum:0
Maximum:unlimited
Default:600
The maximum lifetime (in seconds) a session can remain inactive before it is expired. If set to 0 the sessions will not have a maximum inactive lifetime.

Example

 server:
         session:
             cookie_name: sess_cookie
             max_sessions: 20
             timeout: 600
             inactive_timeout: 100