Page 1 of 1

browser saves login information in registration form

Posted: Mon Jul 27, 2009 11:28 am
by gth759k
I have a login form and a registration form, both have a username and password inputs fields. Everything has a different name e.g. loginemail, loginpassword, registeremail, registerpassword but if I save my username and password in the browser when I log out, I can see the username and password information in both the login and register forms. I've tried changing the names so that they are completely random, but that didn't work. Does anyone know how to prevent this?

Re: browser saves login information in registration form

Posted: Mon Jul 27, 2009 11:45 am
by jackpf
You could try autocomplete="off".

Although why is it a bad thing?

Re: browser saves login information in registration form

Posted: Mon Jul 27, 2009 1:49 pm
by omniuni
Have you made sure that your password field is set to <input type="password" name="blah"></input> ?