symfony/symfony — pull request #6152 by TerjeBr (2012-11-29 18:38:18+00:00)
Title: Do not start session on get, if no prevoius session

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #6036
License of the code: MIT

The session->get function should only start the session in the current request if the session had already been started in a previous request.