See https://github.com/symfony/symfony/blob/master/UPGRADE-2.1.md#session This need to be reflected in http://symfony.com/doc/current/quick_tour/the_controller.html#persisting-data-in-the-session