473,545 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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 FormsAuthentica tion.SetAuthCoo kie( LoginCtl.UserNa me,
LoginCtl.Rememb erMeSet)

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.Passwo rd 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
Apr 18 '07 #1
0 1307

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8611
by: Ben Munday | last post by:
Hi all, I have a problem with a Checkbox in a JTable. When i add the Checkbox into the JTable it displays the String representation of the Checkbox, which is not what i want. So, i created a CheckBoxRenderer which extens Checkbox and implements TableCellRenderer. This seems to have done the job, in that the Checkbox is displayed and not the...
2
1806
by: HartNA | last post by:
I have a script that will work on it is own, but the problem is the site I am trying to implement the checkbox on a site with attachments on the same form. In my testing I check LOW. The result I am looking for is YES, but it keeps coming up NO Here is a snippet from the HTML code <form enctype="multipart/form-data"...
4
2037
by: Fabri | last post by:
How can I, on button click, to select ONLY the following 4 checkbox? I would like to do this without a for loop through form.lenght because this is only an example and I have to apply this script on a 10k+ lines page and IE, looping through a form with 20k+ elements is VERY SLOW. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01...
7
2263
by: Lars Netzel | last post by:
If I put a checkbox in a datagrid (ASP.NET) and set the Autopostback to true I can catch OnChange event on checkbox but how do I then catch what DataGridItemIndex is? Can I use some Event in the Datagrid that will fire off when the Checkbox is changed? regards /Lars
4
6919
by: | last post by:
I have a checkbox on a web page. When it is checked, I want a Table to appear (or disappear when the checkbox is cleared)... I was hoping to use client side code for this, so I created a short vbscript routine and added this to my code behind module: chkRecur.Attributes.Add("onchange", "vbscript: ShowRecurringTable") Now, this works just...
3
3137
by: Fao, Sean | last post by:
I have a DataGrid that I'm adding CheckBox controls to at runtime (in the code behind) and I'm not sure if I'm doing it correctly. First of all, I noticed that the MyDataGrid.Columns.Add() method expects a DataGridColumn so I instantiated an object of type TemplateColumn that I had hoped I could add a CheckBox to. I soon discovered that the...
4
3239
by: Wolfgang Uhr | last post by:
Hello I've the following code Panel pnlData = new System.Windows.Forms.Panel(); CheckBox checkBox = new System.Windows.Forms.CheckBox(); checkBox.AutoSize = true; checkBox.Dock = System.Windows.Forms.DockStyle.Top; checkBox.Name = "checkBox"; checkBox.TabIndex = 1;
5
18437
by: rbragg | last post by:
All of my other form data is stored correctly in the db except for my checkbox data. This column in my table is empty. I have this checkbox group on my form: <input name="cbItems" type="checkbox" id="cbItems" value="Item1">Item1 <input name="cbItems" type="checkbox" id="cbItems" value="Item2">Item2 <input name="cbItems" type="checkbox"...
3
5298
realin
by: realin | last post by:
Hiya all, i am in deep trouble, i thought it was an easy task, but now its getting on my nerves. Well i have a div on a form, which contains a number of checkboxes, as <div class="modalData" id="multipleCommSelect" style="padding: 50px;"> <center>Please select the communities from the list below:<br></center> <label><input...
9
3323
by: raamay | last post by:
I have six checkboxes as shown below: <table> <tr> <td><input name="spec1" type="checkbox" value="0" tabindex="11" /><label id="label">Bridge Construction</label></td> </tr> <tr> <td><input name="spec2" type="checkbox" value="1" tabindex="12" /><label id="label">Building Construction</label></td> </tr> <tr>
0
7484
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7675
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7928
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7775
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5997
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5344
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4963
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1030
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
726
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.