Session Configuration
From Resin 3.0
Session configuration occurs in three contexts:
- In the web-app's <session-config>
- In the <server> cookie configuration
- In the persistent session configuration
The <server> block has a separate cookie configuration because the load-balancers need to detect and parse the session cookie on a server-wide basis to implement sticky sessions.
session-config
<server> configuration for sessions
The attributes belong in the <server> block
Attribute | Meaning | Default |
---|---|---|
alternate-session-url-prefix | An alternative URL prefix for sessions | none |
session-cookie | The cookie to use for sessions | JSESSIONID |
ssl-session-cookie | The cookie to use for sessions for an SSL port | JSESSIONID |
session-url-prefix | The URL fragment to use for URL-rewriting | ;jsessionid= |