Saved username and password

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Saved username and password

Post by shiznatix »

Ok on my website I have of course a registration part. Since I have logged in and saved my password on this site many times I find that when I go to the registration page the username and password fields are already filled in. This is annoying because I am trying to test out the registration system and don't want that filled in with legit info while I am testing it. I tried changing the field names to just whatever crazy stuff but for some reason it sees anything that has field type "text" then next as field type "password" to always be the username and password that you saved for the site. Can I turn this off or trick it into not doing that for certain fields?
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Saved username and password

Post by josh »

by "it", you mean your browser? Its a browser specific setting, just clear saved passwords.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Re: Saved username and password

Post by shiznatix »

But I don't want to clear saved passwords, I just don't want the browser to think that this is a login form, because it isn't, its a registration form and I don't want it just throwing my username and password in there every time. So can I just trick the browser into not putting anything there?
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Re: Saved username and password

Post by malcolmboston »

theres also a not very well documented HTML attribute for this.

in the INPUT field use autocomplete="off" i believe this also works in the <form> tag
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Saved username and password

Post by pickle »

If you're using Firefox, you can go into your saved password list & remove your site. You'll then get a little bar appear the next time you try to login asking if you want to save the password. Choose "Never for this site" & you should be good to go.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Re: Saved username and password

Post by shiznatix »

malcolmboston wrote:theres also a not very well documented HTML attribute for this.

in the INPUT field use autocomplete="off" i believe this also works in the <form> tag
wow thanks that is exactly what I wanted, never heard of that one before.
taylor28
Forum Commoner
Posts: 31
Joined: Tue Sep 16, 2008 11:55 pm

Re: Saved username and password

Post by taylor28 »

IE and Mozilla browser has an option to enable and disable in saving password in field box.
malcolmboston wrote:theres also a not very well documented HTML attribute for this.

in the INPUT field use autocomplete="off" i believe this also works in the <form> tag
have you tried it what malcolmboston shared I haven't heard it yet may I could also try. Did it work?
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Re: Saved username and password

Post by shiznatix »

as stated in my last post, the attribute autocomplete="off" works for exactly what I wanted to happen there. So yes, it does work
taylor28
Forum Commoner
Posts: 31
Joined: Tue Sep 16, 2008 11:55 pm

Re: Saved username and password

Post by taylor28 »

Oh thanks I have applied. Thanks! :)
geester1
Forum Newbie
Posts: 4
Joined: Tue Oct 14, 2008 12:42 am

Re: Saved username and password

Post by geester1 »

If you want to test it you need to clear cookies every time you exit the browser, this is the fastest and easiest I tihnk.
Post Reply