Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

Stop form information being saved by browser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Winshent - 26 Oct 2005 18:17 GMT
How do you stop form information being stored such as credit card info
in a textbox?
S. Justin Gengo - 26 Oct 2005 18:22 GMT
Winshent,

That would be up to the user to configure on their browser...

Signature

Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
                           Nietzsche

> How do you stop form information being stored such as credit card info
> in a textbox?
Siva M - 26 Oct 2005 18:23 GMT
I am not sure if you are talking about the AutoComplete feature of IE. If
so, you can disable it: From IE, select menu Tools, Options. Go to the
Content tab and click AutoComplete... and uncheck Forms checkbox.

HTH.

How do you stop form information being stored such as credit card info
in a textbox?
Winshent - 26 Oct 2005 18:44 GMT
Yes i am referring to the auto complete feature of the browser. Certain
banking sites dont store such information, regardless of your browser
settings. So i assume there must be a way to stop it being stored..

When you set textbox.type=password.. then the info is not stored by the
browser.
Siva M - 26 Oct 2005 19:00 GMT
Specify autocomplete=off if a particular textbox text should not be stored
by the browser as in:

<input type=password name="myPwd" autocomplete="off">

The same attribute can be applied at the form level as well, to turn
autocomplete off for the entire form.

Yes i am referring to the auto complete feature of the browser. Certain
banking sites dont store such information, regardless of your browser
settings. So i assume there must be a way to stop it being stored..

When you set textbox.type=password.. then the info is not stored by the
browser.
S. Justin Gengo - 26 Oct 2005 19:11 GMT
Siva,

Great info. I also found the following on the w3c website:

2.9. The autocomplete attribute
The autocomplete attribute applies to the text, password, select, textarea,
date-related, time-related, numeric, email, and uri controls. The attribute
takes two values, on and off. The default, when the attribute is not
specified, is on.

The on value means the UA may store the value entered by the user so that if
the user returns to the page, the UA can prefill the form. The off value
means that the UA must not remember that field's value.

This specification does not define the autocompletion mechanism. UAs may
implement any system within the conformance criteria of this specification,
taking into account security and privacy concerns.

A UA may allow the user to disable support for this attribute. Support for
the attribute must be enabled by default, and the ability to disable support
should not be trivially accessible, as there are significant security
implications for the user if support for this attribute is disabled.

Banks frequently do not want UAs to prefill login information:

<p>Account: <input type="text" name="ac" autocomplete="off" /></p>
<p>PIN: <input type="text" name="pin" autocomplete="off" /></p>
In practice, this attribute is required by many banking institutions, who
insist that UAs with auto-complete features implement it before supporting
them on their Web sites. For this reason, it is implemented by most major
Web browsers already, and has been for many years.

Signature

Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
                           Nietzsche

> Specify autocomplete=off if a particular textbox text should not be stored
> by the browser as in:
[quoted text clipped - 10 lines]
> When you set textbox.type=password.. then the info is not stored by the
> browser.
Winshent - 26 Oct 2005 19:41 GMT
Excellent

Thanks verymuch for your posts.

Vincent

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.