SitePoint Sponsor

User Tag List

Results 1 to 11 of 11

Hybrid View

  1. #1
    SitePoint Zealot suro's Avatar
    Join Date
    Jan 2005
    Posts
    155
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    auto password saving feature when using forms

    I have a user registration form where userid and password must be entered. When tested in Firefox it asks whether i want to save that userid and password (that's one of those auto saving features that prevents you typing the login and password every time, It actually things that it's a login form) how can I make Firefox not do that?

  2. #2
    SitePoint Wizard Young Twig's Avatar
    Join Date
    Dec 2003
    Location
    Albany, New York
    Posts
    1,355
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tools > Options > Privacy > Saved Passwords > Remember Passwords

  3. #3
    SitePoint Zealot suro's Avatar
    Join Date
    Jan 2005
    Posts
    155
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I thought I could do it with the help of the code not browser
    It is a registration form not a login form I'm sure there's a way around this
    and I think this is more a html question.

  4. #4
    SitePoint Zealot suro's Avatar
    Join Date
    Jan 2005
    Posts
    155
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Take sitepoints registration form for example, In firefox doesn't ask me anything about saving passwords, but when I try to login it asks

  5. #5
    get into it! bigduke's Avatar
    Join Date
    May 2004
    Location
    Australia
    Posts
    847
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can do this by using a long term cookie, just make sure the data stored in the cookie isn't too sensitive and that its encrypted. Then when checking whether the user is logged in use the data in this cookie to determine whether to let him/her pass through or prompt for login.
    You can also add a javascript prompt to ask the user whether he/she wants the password stored, but then thats bad practice.

    Hope I got the point across

  6. #6
    SitePoint Zealot suro's Avatar
    Join Date
    Jan 2005
    Posts
    155
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by bigduke
    Hope I got the point across
    Nope actually
    I just want the user not to be asked any kind of password saving features from the browser when user enters information in the registration form

    That's it.

  7. #7
    ********* Genius Mike's Avatar
    Join Date
    Apr 2001
    Location
    Canada
    Posts
    5,458
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    There's a meta element (and even attribute IIRC) for IE not to do this, so there may be one for mozilla...
    Mike
    It's not who I am underneath, but what I do that defines me.

  8. #8
    SitePoint Zealot suro's Avatar
    Join Date
    Jan 2005
    Posts
    155
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mike
    There's a meta element (and even attribute IIRC) for IE not to do this, so there may be one for mozilla...
    Could you bring me an example?
    For IE if you don't know for mozilla

  9. #9
    ********* Genius Mike's Avatar
    Join Date
    Apr 2001
    Location
    Canada
    Posts
    5,458
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    <input autocomplete="off">

    for IE is the inline attribute. I Googled, but didn't find anything for Firefox.

    Maybe try renaming the fields so they arent named user/pass?
    Mike
    It's not who I am underneath, but what I do that defines me.

  10. #10
    SitePoint Zealot suro's Avatar
    Join Date
    Jan 2005
    Posts
    155
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Mike
    Maybe try renaming the fields so they arent named user/pass?
    Yep, I guess you're right I'll rename them, Thanks

  11. #11
    SitePoint Wizard silver trophybronze trophy asp_funda's Avatar
    Join Date
    Jun 2003
    Location
    ether
    Posts
    4,497
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Cool

    Quote Originally Posted by Mike
    <input autocomplete="off">
    This also works in FireFox if I'm not wrong!!
    Our lives teach us who we are.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Me - Photo Blog - Personal Blog - Dev Blog
    iG:Syntax Hiliter -- Colourize your code in WordPress!!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •