I\'m using a FOSUserBundle for authentication in Symfony2. Everything works fine except \"remember me\". My security.yml looks like this:
security: providers:
Remember me feature may not work if browser can't set cookies on your domain (localhost, for example). If this is a case, then setup your domain as a valid domain name (eg, dev.site.com). Also make sure you have cleared cache.
Remember me
domain
localhost
dev.site.com