mardi 3 décembre 2019

php remember login status in cookies

I want to implement remember me function in my site with php. My thought is to store the username and hashed password string in cookies. But anybody still can get the cookie's value and set the cookie from another computer(using browser's debug console) to reload the page and login, right? How to prevent this?




Aucun commentaire:

Enregistrer un commentaire