3.13.39 /glassfish-web-app/session-config/session-properties/property
/glassfish-web-app/session-config/session-properties/property specifies the property, which has a name and a value.
Description
/glassfish-web-app/session-config/session-properties/property specifies the property, which has a name and a value.
Repetition pattern
0 or more times
Specifiable attributes
Attribute name |
Description |
Specifiable values |
Default value# |
Dependencies |
Repetition pattern |
---|---|---|---|---|---|
name |
Specify the property name of "Specifiable properties". |
Type: String |
No default value |
N/A |
Only one time |
value |
Specify the value of "Specifiable properties" (specifiable value). |
Type: String |
No default value |
N/A |
Only one time |
- Legend:
N/A: Not applicable
#: This is the default value that is set when a definition item is excluded.
Specifiable properties
The following properties can be specified for "Specifiable attributes":
Property name |
Description |
Specifiable values |
Default value# |
Dependencies |
Repetition pattern |
---|---|---|---|---|---|
timeoutSeconds |
Specifies the default maximum inactive interval (in seconds) for all sessions created in the web module. If set to 0 or less, sessions in this web module never expire. If a session-timeout element is specified in the web.xml file, the session-timeout value overrides any timeoutSeconds value. If neither session-timeout nor timeoutSeconds is specified, the default timeoutSeconds is used. Note that the session-timeout element in the web.xml file is specified in minutes, not seconds. |
Type: Integer -2147483648 to 2147483647 |
Configured value of configs.config.<name>.web-container.session-config.session-properties.timeout-in-seconds. |
N/A |
0 or 1 time |
enableCookies |
Uses cookies for session tracking if set to true. |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time |
enableURLRewriting |
This provides session tracking via URL rewriting when the browser does not accept cookies. You must also use an encodeURL or encodeRedirectURL call in the servlet or JSP. |
Type: Boolean {true | false} |
true |
N/A |
0 or 1 time |
- Legend:
N/A: Not applicable
#: This is the default value that is set when a definition item is excluded.