Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Closed
Description
When using PdoSessionStorage, an exception is thrown by PHP whenthe session is serialized:
PDOException: You cannot serialize or unserialize PDO instancesI think the Session class needs to check if the storage can be serialized, maybe by using a NotSerializable interface, as@fabpotblogged about a while ago.
FYI: this issue is caused bySymfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::serialize() and only occurs when I forward a request. I'm using the latest Symfony version to date (2.0.8).
Metadata
Metadata
Assignees
Labels
No labels