 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
 | This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

November 13th, 2009, 04:10 PM
|
|
Authorized User
|
|
Join Date: Apr 2009
Posts: 48
Thanks: 16
Thanked 0 Times in 0 Posts
|
|
Login & CreateUserWizard controls remember me??
Hi there,
I have followed the Try it outs on p528 and p532 where the Login and signup pages are being created.
I created some user accounts and tried them out, all seems to work ok. ACCEPT that the Login and CreateUserWizard controls continu to come up in the browser with 1 of the users including password that I created as a default; when I open Login.aspx or SignUp.aspx in the browser the User Name and Password fields are already filled with these values.
I never even checked the "remember me" checkbox.
I triple checked the code, even threw away my code and replaced it with the source code without any change, this user keeps coming up.
I also checked the web.config and the strange thing is that when I try to log in with this default user that it does not log in, nor can I change the password for it, it gives the following message "We were unable to access your information. Please try again."
So the fault must be somewhere else...but where??
Any suggestions anybody?
Thanks in advance
|
|

November 13th, 2009, 04:27 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
ASP.NET never fills in the password field for you so I don't think this is ASP.NET related. My guess is that you are using Firefox which remembers and fills in user names for you like this. or some other browser with that behavior (or a plugin).
Cheers,
Imar
|
|

November 14th, 2009, 05:14 AM
|
|
Authorized User
|
|
Join Date: Apr 2009
Posts: 48
Thanks: 16
Thanked 0 Times in 0 Posts
|
|
Thanks, Imar it must be browser related
Hi Imar,
You are right, I am using firefox. So it must be browser related. I checked out the project on internet explorer and there it comes up with empty textboxes.
However, 2 strange thing are happening in firefox - even when I cancel all history it keeps on insisting with the same user name and password, filled in as default into those textboxes.
- with the planetwrox source code it does not do that, the textboxes come up empty as they should even after making some user accounts.
So what can be wrong with my browser settings?
Thanks, Robin
|
|

November 14th, 2009, 05:23 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi Robin,
Quote:
|
even when I cancel all history it keeps on insisting with the same user name and password, filled in as default into those textboxes.
|
Yeah, that doesn't always seem to work well. Try Tools | Options, then go the Security tab. There you can manage (and delete) the "Saved Passwords".
In addition you can do it manually. Clear the User Name text box, make sure your cursor is in the box and press the down key. A list with recorded user names comes up. Using the delete key you can remove the ones you don't want to keep.
Quote:
|
with the planetwrox source code it does not do that, the textboxes come up empty as they should even after making some user accounts.
|
Firefox remembers the settings per site, so maybe you're viewing the site on a different address?
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|

November 14th, 2009, 05:41 AM
|
|
Authorized User
|
|
Join Date: Apr 2009
Posts: 48
Thanks: 16
Thanked 0 Times in 0 Posts
|
|
ok that worked!
Hi Imar,
That was fassssst!
as you said, taking out those specific passwords did the trick.
I still can't figure out though why firefox did not remember the passwords of the users in planetwrox, and then remembering those passwords and usernames is one thing.... actually filling them out in the textboxes without even typing in the first letter of the user name is another thing all together.
Anyway, laten we er geen wetenschap van maken (let's not make a science out of it). Problem solved!
Thanks again,
Robin
|
|

November 14th, 2009, 06:06 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
When you enter a user name and password, Firefox pops up an info bar above the page with options that control whether you want to store the user name and password or not. Maybe that explains it?
Anyway, glad it got solved.
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|

November 14th, 2009, 06:33 AM
|
|
Authorized User
|
|
Join Date: Apr 2009
Posts: 48
Thanks: 16
Thanked 0 Times in 0 Posts
|
|
That could explain it, I could have clicked on the wrong button there.
In conclusion; there are a lot of things to pay attention to... maybe it is a science after all.
Thanx, Robin
|
|
 |