symfony/symfony — pull request #4781 by frosas (2012-07-07 18:34:53+00:00)
Title: [Form] Ensure there is a session before getting the session id

Solves "The CSRF token is invalid. Please try to resubmit the form" error when a form is generated before the session is started.