ASP.NET Identity remember email address on login page


Asp.Net Identity introduces "remember me" functionality. However my requirement is only to remember email address on the login form, not to login user permanently. So once the user comes back, has to provide his password only. If other user tries to login, he will have to provide his email as well.

Has Asp.Net Identity some built-in functionality I could base on or shall I implement this functionality completely on my own from the scratch?

I use Asp.Net Identity v2.2.1.

J. Lavoie

As R. Richards said, you should go with cookie in your case because they are great when storing per-user information for the current Web session or persistent information on the client.

Here's an helpful link that shows basic implementation of a cookie in c#

Hope this help! Feel free to ask for more information.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at


Login to comment


TOP Ranking