Settings to configure the behavior of user sessions -- the session is what the web interface uses to identify logged in users.
number
Number of seconds a session should be valid for. Default is 1 day
86400
string
The secret value used to encrypt session data
If provider is persistent (redis
) specifying a value here will ensure sessions are valid between application restarts
When not present or null
a random string is generated on application start
string
Specify backend storage to use for persisting client sessions. If specified this will overwrite parent-level storage
settings.
May be useful if using database
for general web client storage but have heavy traffic and want sessions to be more performant (using cache
)
Valid values: cache
, database