Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET4.0
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.
Posted 2-Jul-12 0:39am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 2 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100