Session Configuration
From Resin 3.0
(Difference between revisions)
Line 1: | Line 1: | ||
− | [[Category:Configuration]] [[Category: | + | [[Category:Configuration]] [[Category:Sessions]] |
Session configuration occurs in three contexts: | Session configuration occurs in three contexts: | ||
Line 9: | Line 9: | ||
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]]. | 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 = | |
− | { | + | {{:Session-config}} |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | = <server> configuration for sessions = | |
The attributes belong in the <[[server]]> block | The attributes belong in the <[[server]]> block |
Latest revision as of 18:08, 30 November 2005
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.
[edit] session-config
[edit] <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= |