FOSUserBundle [6/15] - Adding Remember Me Functionality to FOSUserBundle

Publié le: 15 mars 2021
sur la chaîne: Code Review Videos
350
2

Full course available at https://www.codereviewvideos.com/cour...

In this video we will implement the remember_me functionality, allowing your Users to remain logged in for longer than the length of your server's session expiry time.

Security is a tough topic to get right. This is one of the huge benefits of using a framework like Symfony2. We get to share in the vast wealth of experience of its creators and contributors, and gain a security implementation that has been peer reviewed by the communities security experts.

Remember Me functionality is achieved through a cookie with a specific expiry date, stored in your user's browser.

The expiry date is usually longer than the length of a session on the server. The session expiry length can be changed in your php.ini file, but by default it will be 1440 seconds / 24 minutes. An odd amount of time.

This way, when the user's session expires, they still remain logged in to your website, until their Remember Me cookie expires.

https://codereviewvideos.com/course/g...


Sur cette page du site, vous pouvez voir la vidéo en ligne FOSUserBundle [6/15] - Adding Remember Me Functionality to FOSUserBundle durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code Review Videos 15 mars 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 350 fois et il a aimé 2 téléspectateurs. Bon visionnage!