Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > LoginCtl Remember Me Checkbox -> How to keep it checked and remember user?

Reply
Thread Tools

LoginCtl Remember Me Checkbox -> How to keep it checked and remember user?

 
 
Frank Miverk
Guest
Posts: n/a
 
      04-18-2007
Hi,

I am not understanding how the Remember Me checkbox is supposed to work
here. I have a LoginCtrl (asp.net 2.0, framework 2.0) and all I want to do
is remember the user the next time if they previously checked the Remember
Me checkbox.

By default, on subsequent visits the Remember Me checkbox does not stay
checked. I understand that checking this checkbox, allows me to create a
cookie using FormsAuthentication.SetAuthCookie( LoginCtl.UserName,
LoginCtl.RememberMeSet)

And after logging in with the RememberMe checkbox set, and opening a new
browser window to visit a page that would otherwise require a login, works
fine.

However, if the user opens a browser and goes to the login page, the
Remember Me feature doesn't appear to populate the UserName and Password
fields? And the Remember Me checkbox is not checked?

SO, I attempted to populate them myself but found that you cannot set the
LoginCtl.Password because it is READ ONLY.

The ultimate goal here is to have the user come to the login page, with all
fields filled out (if they previously checked Remember Me), and have the
user just click the Login button.

Thanks for any tips on how to go about remembering logins.

Frank


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
CheckBox Checked=false when checked in DataList yurps ASP .Net 1 02-29-2008 01:08 PM
Always One checkbox checked RodBillett ASP .Net 4 12-04-2003 11:35 PM
checkbox checked change event question Matthew Louden ASP .Net 2 11-18-2003 07:25 AM
Checkbox - database checkbox, if checked gives value of 1 .. how to sum ? randy Perl Misc 13 11-01-2003 05:39 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57