sessionManager
Description
Can be used in
bean, login, oauth2Resource and oauth2authserver
Syntax
[<sessionManager [cookieName="string"] [timeout="long"] />]
Sample
<sessionManager cookieName="SESSIONID" timeout="300000" />
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.