I set sessions to expire when browser closes in main config.yml
:
framework:
session:
default_locale: %locale%
lifetime: 0
auto_start: true
Then I set "remember me" for login page as described in documentation and I'm getting logged out (when I restart browser) even if I check "remember me".
How to set a Symfony2 application to expire cookies when user closes browser, but persist them if one chooses to (by checking "remember me") upon login?
I'm using Symfony2-beta5 RC1 RC3.