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

Session

eZ Publish sessions are handled by the Symfony stack, through se= ssion handlers. As en example, in order to store your session data in a dat= abase, you may use the PdoSessionHandler:

=20
framework:
    session:
        # ...
        handler_id:     session.handler.pdo

parameters:
    pdo.db_options:
        db_table:    session
        db_id_col:   session_id
        db_data_col: session_value
        db_time_col: session_time

services:
    pdo:
        class: PDO
        arguments:
            dsn:      "mysql:dbname=3D<mysql_database>"
            user:     <mysql_user>
            password: <mysql_password>

    session.handler.pdo:
        class:     Symfony\Component\HttpFoundation\Session\Storage\Handler=
\PdoSessionHandler
        arguments: ["@pdo", "%pdo.db_options%"]
=20

For more information on this and other included handlers, or information= on developing your own, please check the online Symfony documentation.

To configure sessions in your eZ Publish 5 setup, look to the documentat= ion of Symfony HTTP Fund= ation component.

------=_Part_4419_686734814.1485866434582--