sessionManager
Description
Can be used in
login, oauth2Resource and oauth2authserver
Syntax
[<sessionManager [cookieName="string"] [timeout="long"] />]
Listing 1: sessionManager Syntax
Sample
<sessionManager cookieName="SESSIONID" timeout="300000" />
Listing 2: sessionManager Example
Attributes
Name | Required | Default | Description | Example |
---|---|---|---|---|
cookieName | false | - | ||
domain | false | - | ||
timeout | false | - |
Explanation
The Session Manager identifies users across HTTP requests using a session cookie.
The name of the session cookie can be specified using the cookieName attribute. The default name is "SESSIONID".
The session timeout can be specified in milliseconds using the timeout attribute. The default timeout is 5 minutes.