as of symfony 2.1 the session in templates should be used like app.session.flashbag.*