Login "Remember password" function, now save the user name and password in the cookie, after the private key key encryption
But if the sensitive information on the client's password is not good, although the private key encryption, but also some concerns
You generally remember what the password function is to save in a cookie if you do not save the password by what authentication
Reply content:
Login "Remember password" function, now save the user name and password in the cookie, after the private key key encryption
But if the sensitive information on the client's password is not good, although the private key encryption, but also some concerns
You generally remember what the password function is to save in a cookie if you do not save the password by what authentication
There is a kind of thing called session;)
You this is how old thinking, now is to use the cookie record login status, who also really record password ...
In fact, you do not want to use what the storage with what encryption, all you need is a "Remember password" identity, this logo is not sensitive, so don't worry about cracking problem.
All you need to do is write a logic to determine whether the current IP is equal to the IP that chose to remember the password.
If it's equal, take it directly from the database or log in directly.