Page 1 of 1

What causes Firefox to prompt user to remember password?

Posted: Tue Jan 13, 2009 11:15 am
by conquesimo
~pickle | Please use [ code=html ], [ code=php ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: :arrow: Posting Code in the Forums to learn how to do it too.


I've created a login form for my website. When a user logs in, it works fine, but for some reason Firefox is not prompting to "Remember password". Does anyone know why? I've scrapped all my code and boiled it down to a bare bones example and still I can't seem to figure out why Firefox won't prompt me. Here's what I've got:

Code: Select all

 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Test</title>
</head>
<body>
 
<form method="POST" action="process.php">
    <input type="text" name="username" size="20"><br>
    <input type="password" name="password" size="20"><br>
    <input type="submit" value="Submit" name="button">
</form>
 
</body>
 
</html>
 
And the URL to access to this page is as static as can be: http://www.example.com/login.html. Also, I've cleared my all my private data multiple times to ensure I was working with a clean slate in Firefox's password management system. Still, it will not prompt me to remember the password. What am I missing?

Thanks in advance.


~pickle | Please use [ code=html ], [ code=php ], etc tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: :arrow: Posting Code in the Forums to learn how to do it too.

Re: What causes Firefox to prompt user to remember password?

Posted: Tue Jan 13, 2009 11:36 am
by blue-printf
i tried your your code and it does ask me to if i want ff to remember it.

maybe you have the never remember for this site set to on.

go to options->security->passwords->exeptions. and remove the site form that list.
(tab names may differ. my ff is not in english)

Re: What causes Firefox to prompt user to remember password?

Posted: Tue Jan 13, 2009 11:38 am
by conquesimo
I just think I figured out a little more. Turns out that I lied by accident - my URL was not as simple as can be. It is a subdomain of my live site where I'm doing some developing. Something like http://developing.example.com/login.html.

I've just discovered that Firefox will prompt to "Remember me" if the URL has no subdomain. If I upload login.html to my main site, it works. I don't know what that's about, but there it is.

Re: What causes Firefox to prompt user to remember password?

Posted: Tue Jan 13, 2009 11:49 am
by conquesimo
blue-printf wrote:i tried your your code and it does ask me to if i want ff to remember it.

maybe you have the never remember for this site set to on.

go to options->security->passwords->exeptions. and remove the site form that list.
(tab names may differ. my ff is not in english)
Crap. You were right. Man, I suck. I spent the last hour trying to figure this out and it turned out that I must've clicked "Don't Remember Me". Bah! Horrible... horrible... horrible.