Message-ID: <851215221.4362.1485866284152.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4361_2072975097.1485866284152" ------=_Part_4361_2072975097.1485866284152 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Legacy session injection

Legacy session injection

Sessions are configurable in eZ Publish 5 by defining the = session_name setting under your siteaccess group configuration in yo= ur config/ezpublish.yml file.
Here's a usage example:

=20
ezpublish:
    siteaccess:
        list:
            - ezwebin_site
            - eng
            - ezwebin_site_admin
        groups:
            ezwebin_site_front_group:
                - ezwebin_site
                - eng
        match:
            URIElement: '1'
    system:
        ezwebin_site_front_group:
            session_name: <YOUR_SESSION_NAME>
        ezwebin_site_clean_group:
            database:
                type: mysql
=20

 For better integration between 5.x (symfony based) kernel and lega= cy (4.x) kernel, injection is used to inject settings, session and current siteaccess from 5.x into lega= cy using an event: kernel.event_subscriber=

Injected session

When eZ Publish legacy (4.x kernel and extensions) are running via the n= ew eZ Publish 5 kernel, then the Symfony session is injected into it and al= l session related settings in legacy is ignored.

For more details on how to configure sessions in your eZ Publish 5 setup= , please refer to the documentation of Symfony HTTP Fundation component.

------=_Part_4361_2072975097.1485866284152--