

You can only store such type of data, but no smart PDO objects. For example a simple string has no scope. You can only hold data whose scope is not limited. Could you show us that class? Specifically, anything that tries to serialize or unserialize a PDO instance, since that is what the error complains.

Must have something to do with the PHP version I would think. You cannot serialize or unserialize PDO instances. What's the best way of sending a PDO between actions in Symfony2? The answer is definitely not to save Doctrine entities to a session or Memcache and the reason is: // copied from the comment Think in scopes. Writing your own forms and mapping and validations is unnecessary. Using symfony forms for mapping, the view and with the symfony validation are very very powerful tools. I'm not using symfony forms in this module because this is an overly complex screen with lots of validations and calculated fields and it would be much more complicated to use the forms. Best How To: Is there any better way to do this? Yes with symfony forms.
