I'm having some issues with my Symfony application after upgrading from 2.0.X to 2.1. The application was using PdoSessionStorage just fine before the upgrade. The docs say that there are some differences in the config for PdoSessionStorage in 2.1 but I think that I was able to make those changes okay.
The problem that I'm seeing is that there is no data being added to the session_value(db_data_col) column in the session table. It is adding a new record for the current session but it's leaving the data empty.
Has anyone had this problem yet?
My config contains the following:
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:host=%database_host%;port=%database_port%;dbname=%database_name%"
user: %database_user%
password: %database_password%
session.handler.pdo:
class: Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler
arguments: [@pdo, %pdo.db_options%]