This element specifies session manager properties.
The following table describes the property subelement for the manager-properties element.
Table A–12 manager-properties Subelements
Element |
Required |
Description |
---|---|---|
zero or more |
Specifies a property, which has a name and a value. |
none
The following table describes properties for the manager-properties element.
Table A–13 manager-properties Properties
Property Name |
Default Value |
Description |
---|---|---|
reapIntervalSeconds |
60 |
Specifies the number of seconds between checks for expired sessions. Set this value lower than the frequency at which session data changes . For example, this value should be as low as possible 1 second for a hit counter servlet on a frequently accessed web site or you could lose the last few hits each time you restart the server. |
maxSessions |
-1 |
Specifies the maximum number of active sessions, or -1 (the default) for no limit. |
sessionFilename |
none; state is not preserved across restarts |
Specifies the absolute or relative path name of the file in which the session state is preserved between application restarts, if preserving the state is possible. A relative path name is relative to the temporary directory for this web application. Applicable only if the persistence-type attribute of the session-manager Element element is memory. |