I have a login with a remember checkbox. I\'m tring to set lifetime of session to 1 year if the remember checkbox is checked, but no matter what I tried, it doesn\'t work... Sym
It should be done in security.yml configuration file:
security.yml
secured_area: pattern: ^/yourpattern remember_me: key: "%secret%" lifetime: 31536000 # 365 days in seconds path: /yourpath domain: .yourdomain.com
You can find related documentation here.