+ 3
First things first: Do not ever display credentials and don't store credentials in plain text. Now, what you want is a sort of "remember me" or "keep me logged in" functionality? Is that correct?
4th Feb 2022, 6:02 AM
Ani Jona 🕊
Ani Jona 🕊 - avatar
+ 1
All right 🙂 Such a functionality is usually accomplished using a special remember-me token, stored client side in a cookie. Be sure to make that token big, and I mean big, and preferably unpredictable. Of course, the same token needs to be stored on the server as well, for identification and verification. Details on how to do that will vary with the backend technology that you use.
4th Feb 2022, 7:19 AM
Ani Jona 🕊
Ani Jona 🕊 - avatar
0
You have to create cookies for that.
4th Feb 2022, 6:20 AM
VSR [ DEV ]
VSR [ DEV ] - avatar