Message-ID: <444411425.3336.1485852754203.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3335_1412594771.1485852754198" ------=_Part_3335_1412594771.1485852754198 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Session cookie configuration

Session cookie configuration

See overview of Sessions in eZ Platform before you re= ad this.

Symfony offers the possibility to change many session options at applica= tion level (i.e. in Symfony framework configuration), such as:

However as eZ Platform can be used for setting up several web sites with= in on Symfony application, session configuration is also possible to define= per siteaccess and SiteGroup level.

Session options per siteaccess

All site-related session configuration can be defined per siteaccess and= SiteGroup:

ezplatform.yml
=20
ezpublish:
    system:
        my_siteaccess:
            session:
                # By default Session name is eZSESSID{siteaccess_hash}
                # with setting below you'll get eZSESSID{name},
                # allowing you to share sessions across SiteAccess
                name: my_session_name
                # These are optional. 
                # If not defined they will fallback to Symfony framework co=
nfiguration, 
                # which itself fallback to default php.ini settings
                cookie_domain: mydomain.com
                cookie_path: /foo
                cookie_lifetime: 86400
                cookie_secure: false
                cookie_httponly: true
=20

Session name= per siteaccess

In 5.x versions prior to 5.3 / 2014.03 the following siteaccess aware se= ssion setting where available:

ezplatform.yml
=20
ezpublish:
    system:
        my_siteaccess:
            # By default Session name is eZSESSID{siteaccess_hash}
            # with setting below you'll get eZSESSID{name},
            # allowing you to share sessions across SiteAccess
            # This setting is deprecated as of 5.3
            session_name: my_session_name
=20
------=_Part_3335_1412594771.1485852754198--