The 'Remember password' function during login. Now, the user name and password are saved in the cookie and encrypted by the private key. However, if the sensitive information such as the password is not good on the client, although it is encrypted by the private key, you may also have concerns about what the password function will do if it is not stored in the cookie... the "Remember password" function during login. Now, the user name and password are saved in the cookie and encrypted by the private key.
However, if the sensitive information such as the password stored on the client is not very good, although it is encrypted by the private key, there are also concerns.
Remember what the password function saves and what verification is passed if the password is not saved in the cookie.
Reply content:
The "Remember password" function during login. Now, the user name and password are saved in the cookie and encrypted by the private key.
However, if the sensitive information such as the password stored on the client is not very good, although it is encrypted by the private key, there are also concerns.
Remember what the password function saves and what verification is passed if the password is not saved in the cookie.
There is one thing called Session ;)
How old do you think about it? Now we use cookies to record the logon status...
In fact, you don't need to use any storage or encryption at all. All you need is a "Remember password" identifier, which is not sensitive, so you don't have to worry about cracking.
What you need to do is write a logic to determine whether the current ip address is equal to the ip address used to remember the password.
If the value is equal to, you can directly retrieve the data from the database or directly log on to the database.