jeudi 1 janvier 2015

Is this auth method safe to implement?

hello? When user logs in, server sets a cookie that contains an username and a hash which is generated from username and hash key. So I check user's cookie everytime when user enters a page where authentication is needed. Everytime, user load auth required page, my server works and checks cookie. Is there more efficient way to handle it?





Aucun commentaire:

Enregistrer un commentaire