Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 26th, 2007, 01:15 AM
ojasrege@yahoo.com
Guest
 
Posts: n/a
Default anyway to programatically disable autocomplete for Firefox and IE for specific form fields?

If I have a web form where a user enters sensitive information, such
as a SS#, is there any way for a web site to prohibit any browser from
remembering data for specific fields (IE's autocomplete)?

Any tricks?

  #2  
Old July 26th, 2007, 02:45 AM
Bergamot
Guest
 
Posts: n/a
Default Re: anyway to programatically disable autocomplete for Firefox andIE for specific form fields?

ojasrege@yahoo.com wrote:
Quote:
>
is there any way for a web site to prohibit any browser from
remembering data for specific fields (IE's autocomplete)?
Even though the autocomplete attribute is non-standard, browsers other
than IE support it. gecko-based browsers have for a long time, but I
can't say about KHTML browsers, or Opera.

--
Berg
  #3  
Old July 26th, 2007, 11:55 AM
Brendan Gillatt
Guest
 
Posts: n/a
Default Re: anyway to programatically disable autocomplete for Firefox and IE for specific form fields?

On Wed, 25 Jul 2007 17:08:32 -0700, ojasrege@yahoo.com wrote:
Quote:
>If I have a web form where a user enters sensitive information, such
>as a SS#, is there any way for a web site to prohibit any browser from
>remembering data for specific fields (IE's autocomplete)?
>
>Any tricks?
You could add a random number to the end of the field's name
attribute. E.G. <input type="textbox" name="ssecuritynumber284625" />

Depending on the sort of CGI you use, you can strip the numbers out
and retrieve the original form name.

The browser would still remember it but it there would be a very slim
chance of ever popping up again.
--
Brendan Gillatt
www.brendangillatt.co.uk
GPG: 0xBACD7433
  #4  
Old July 26th, 2007, 05:15 PM
Ben Bacarisse
Guest
 
Posts: n/a
Default Re: anyway to programatically disable autocomplete for Firefox and IE for specific form fields?

Brendan Gillatt <brendan@brendanREMOVETHISgillatt.co.ukwrites:
Quote:
On Wed, 25 Jul 2007 17:08:32 -0700, ojasrege@yahoo.com wrote:
>
Quote:
>>If I have a web form where a user enters sensitive information, such
>>as a SS#, is there any way for a web site to prohibit any browser from
>>remembering data for specific fields (IE's autocomplete)?
>>
>>Any tricks?
>
You could add a random number to the end of the field's name
attribute. E.G. <input type="textbox" name="ssecuritynumber284625" />
>
Depending on the sort of CGI you use, you can strip the numbers out
and retrieve the original form name.
>
The browser would still remember it but it there would be a very slim
chance of ever popping up again.
True, but one reason to worry about such things is that the
information is stored at all -- for example on a laptop this might be
stolen I don't really want any form data to saved in an accessible
format.

--
Ben.
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles