Skip to the content
Documentation

Requirements for doing a normal installation: comparison ...

No ratings yet

Versions Compared

Old Version 5

changes.mady.by.user Ricardo Correia

Saved on Jun 20, 2013

compared with

New Version 6

changes.mady.by.user Ricardo Correia

Saved on Jun 20, 2013

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Refer to the PHP documentation for the list of supported timezones. Don't forget to restart Apache after editing "php.ini".

Session parameters

Session handling is performed by Symfony, which uses a session handler to take care of them, and store them in the database. Custom session handlers implementation is possible by defining them in exponential.yml.

As an example, please check the PdoSessionHandler session handler implementation, that can be done by configuring the following settings in your exponential.yml fileExponential sessions are handled by the Symfony stack, through session handlers. As en example, in order to store your session data in a database, you may use the PdoSessionHandler:

No Format
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=<mysql_database>"
            user:     <mysql_user>
            password: <mysql_password>

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

For more details on session configuration please be sure to check information on this and other included handlers, or information on developing your own, please check the online Symfony documentation.

 

Other php configuration settings

...

Comments

Add a comment

Comments are read by a moderator before they appear.