By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,798 Members | 1,395 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,798 IT Pros & Developers. It's quick & easy.

Code for remeber my username and password

P: 6
Hi all,
i am doing one ASP.Net/C#.Net project in that i have designed one form,in that form i have 2 textboxes for username and password and one check box and one button.after entering the data into textboxes,if we select the check box,it need to remember the username and password for future logins

username txtusername

password txtpassword|

remeber my username password checkbox[checked =true]

submitbutton
Feb 19 '07 #1
Share this Question
Share on Google+
3 Replies


P: 86
You can do this by storing a cookie on the client's machine.

Hi all,
i am doing one ASP.Net/C#.Net project in that i have designed one form,in that form i have 2 textboxes for username and password and one check box and one button.after entering the data into textboxes,if we select the check box,it need to remember the username and password for future logins

username txtusername

password txtpassword|

remeber my username password checkbox[checked =true]

submitbutton
Feb 19 '07 #2

P: 6
You can do this by storing a cookie on the client's machine.
can you give me the complete code ?
Feb 20 '07 #3

P: 86
I've never been a believer in just copying and pasting code without any understanding, so I think it would be good for you to write some of it yourself. But I also understand job deadlines and all that. This link should put you on the right track.

can you give me the complete code ?
Feb 20 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.