Click here to Skip to main content
15,312,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in my project i need to implement login page. how can i implement 'remember password'
concept without using login control.whether asp have any ajax controls related to this.

1 solution

1. You will have to implement custom forms authentication for this.

refer this: Understanding and Implementing ASP.NET Custom Forms Authentication[^]

2. Whenever user chooses the remember me option you will have to deploy a persistent cookie on his computer. this cookie will contain the authentication ticket. if we look the above article the only thing that will change is:
FormsAuthentication.SetAuthCookie(username, false true);

and set the number of days for which you want the cookie/password to be remembered.

P.S. Reading this answer will not give you the solution directly. you will have to read the linked article and make the suggested change to get solution to your problem. Let me know if you need more on this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900