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.
The General Properties page opens.
The Manager Properties page opens.
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.
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.
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.
The GlassFishTM Server does not define any additional properties for the session manager.
Tip - To return to the default settings, click the Load Defaults button, then click Save.