en.help.ref-managerproptab.html Maven / Gradle / Ivy
Show all versions of console-web-plugin Show documentation
Manager Properties
The session manager provides the means to configure how sessions are created and
destroyed, where the session state is stored, and the maximum number of sessions
that are available.
Use the Manager Properties page to add or modify session manager properties for
the web container.
The Manager Properties page contains the following options.
- Load Defaults
Button to restore settings that have default values to their default values. Settings that do not have default values are not changed.
- Configuration Name
The name of the configuration to which the settings on this page apply. This field is read only.
- Reap Interval
The number of seconds before inactive session data is deleted from the store. The default value is 60.
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; otherwise, you could lose the last few hits each time you restart the server.
- Max Sessions
The maximum number of sessions that can be in cache. A value of –1 indicates no limit to the number of sessions. The default value is –1.
After the limit is reached, an attempt to create a new session causes an IllegalStateException to be thrown.
- Session File Name
The absolute or relative path to the directory in which the session state is preserved between application restarts, if preserving the state is possible. If this path is not set, the session state is not preserved. By default, this path is not set.
A relative path is relative to the temporary directory for this web application.
- Additional Properties
Additional properties for the session manager. The GlassFish Server does not define any additional properties for the session manager.
Related Tasks
-
-
-
-
-
Related asadmin Commands
None.
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices