I've noticed on bank websites, etc, my user IDs aren't saved (they don't appear in a dropdown like other commonly entered stuff does) and there's no prompt for it to remember your password. How is this done? How do the sites notify the browser that they are in 'special' or else exceptions? Just curious.
+6
A:
Usually you just need to put the autocomplete="off" into the form or field you want to block.
Keep in mind that users can get around this with a scriptlet, plugin, or grease-monkey script.
http://msdn.microsoft.com/en-us/library/ms533032(VS.85).aspx
Zoredache
2008-11-29 21:22:05
Wow, it's funny that I'd never heard of this. Thanks.
naeblis
2008-11-29 21:24:29
+5
A:
Set autocomplete to off:
<input type="password" autocomplete="off" />
See also this question: http://stackoverflow.com/questions/32369/disable-browser-save-password-functionality
Robert Gamble
2008-11-29 21:22:39
A:
Autocomplete behavior can be controlled at TextBox also.
As suggested in link below, use AutoCompleteType = "Disabled" to disable autocomplete for any textbox.
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.textbox.autocompletetype.aspx
BinaryHacker
2009-07-12 20:32:20