Session Configuration

From Resin 3.0

Jump to: navigation, search


Session configuration occurs in three contexts:

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

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=
Personal tools