mercredi 1 juillet 2015

Creating Remember Me with multiple computers

I'm trying to implement a 'remember me' feature on my website, but all the tutorials I've seen are either WAY out of date or mention saving a tokenid to a cookie, checking it against the database and then destroying it every time you login (meaning logging in from 2 different computers would be impossible). Are there any good recent tutorials that deal with this issue especially since the new php 5.5 password_hash fixes a lot of the old problems people had?

Aucun commentaire:

Enregistrer un commentaire