Message-ID: <32471065.3498.1485853418135.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_3497_2142921270.1485853418134" ------=_Part_3497_2142921270.1485853418134 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 Publish before you read th= is.

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

However as eZ Publish can be used for setting up several web sites withi= n on Symfony application, session configuration is also possible to define = per SiteAccess and SiteGroup level.

Session options per SiteAccess

As of eZ Publish 5.3 / 2014.03, all site related session configuration i= s possible to define per SiteAccess and SiteGroup:

ezpublish.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:

ezpublish.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_3497_2142921270.1485853418134--