fabpot/Silex — Issue #254: Documentation: How to use PdoSessionStorage
Author: DarrenN
Created: 2012-02-14 21:37:00+00:00
State: open

From looking at the docs: http://silex.sensiolabs.org/doc/providers/session.html#services it would appear that I can store my sessions in MySQL using PdoSessionStorage by setting `session.storage`.

I am going to guess that I would set it to `session.storage = 'PdoSessionStorage'`?

Looking at the [docs over at Symfony2](http://api.symfony.com/2.0/Symfony/Component/HttpFoundation/SessionStorage/PdoSessionStorage.html#method___construct) - it looks like there are some constructor options I need to pass, which don't seem to be documented.

I like Silex, but am not a Symfony user, so I seem to be at a disadvantage.