help for Remember Password
-
I have a windows application in dotnet2.0 with sqlserver2000 database. I m new to c# language. I m making login form.I need to keep a checkbox for 'remember password'. when user cheks it firsttime,nxttime when user enters his userid to login,his password must cum automatically in textbox2. Can some1 plz help to accomplish this? U can mail me at nekshan_sweetypie@yahoo.co.in Thanking Anybody who can help in adv. Nekshan.
-
I have a windows application in dotnet2.0 with sqlserver2000 database. I m new to c# language. I m making login form.I need to keep a checkbox for 'remember password'. when user cheks it firsttime,nxttime when user enters his userid to login,his password must cum automatically in textbox2. Can some1 plz help to accomplish this? U can mail me at nekshan_sweetypie@yahoo.co.in Thanking Anybody who can help in adv. Nekshan.
hi, i think the best way is to add a flag in the database or the users. this flag is set to true when the user checks the remember password. You only have to check the users record of this bit field and accordingly you either display the password or not
-
I have a windows application in dotnet2.0 with sqlserver2000 database. I m new to c# language. I m making login form.I need to keep a checkbox for 'remember password'. when user cheks it firsttime,nxttime when user enters his userid to login,his password must cum automatically in textbox2. Can some1 plz help to accomplish this? U can mail me at nekshan_sweetypie@yahoo.co.in Thanking Anybody who can help in adv. Nekshan.
you might want to check out the authentication features of .NET 2.0 www.asp.net has some great video tutorials on how to implement this. This is usually accomplished through the use of cookies or sessions.
-
hi, i think the best way is to add a flag in the database or the users. this flag is set to true when the user checks the remember password. You only have to check the users record of this bit field and accordingly you either display the password or not
this is not very secure... if you put a flag in the database to check for password if not checked, then anyone who puts that user's username in will have full access. you need to identify the specific user with a user account. This is usually accomplished by using a persistent session or cookie.
-
hi, i think the best way is to add a flag in the database or the users. this flag is set to true when the user checks the remember password. You only have to check the users record of this bit field and accordingly you either display the password or not
Thanx QuiteSmart. Yes i have taken a 'bit' field in database for setting flag n i want to do the same thing,chk if flag is 1 n as user enters username,pswd must automatically be shown in textbox2 for login. Now what i donno is how to put a value (this chkbit,loginname & pswd)from my login form(a textbox & checkbox) into database. Plz can u help on some code for this. Thank U.