Implementing “Remember Me” Feature in ASP.NET MVC

First off, you should never store the user’s credentials in a cookie. It’s incredibly insecure. The password will be passed with every request as well as being stored in plain text on the user’s machine. Second, don’t reinvent the wheel, especially when security is concerned, you’ll never get it right. ASP.Net already provides this functionality … Read more

PHP login system: Remember Me (persistent cookie) [duplicate]

Update (2017-08-13): To understand why we’re separating selector and token, instead of just using a token, please read this article about splitting tokens to prevent timing attacks on SELECT queries. I’m going to extract the strategy outlined in this blog post about secure long-term authentication since that covers a lot of ground and we’re only … Read more

What is the best way to implement “remember me” for a website? [closed]

Improved Persistent Login Cookie Best Practice You could use this strategy described here as best practice (2006) or an updated strategy described here (2015): When the user successfully logs in with Remember Me checked, a login cookie is issued in addition to the standard session management cookie. The login cookie contains a series identifier and … Read more