Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Stop form information being saved by browser

Reply
Thread Tools

Stop form information being saved by browser

 
 
Winshent
Guest
Posts: n/a
 
      10-26-2005
How do you stop form information being stored such as credit card info
in a textbox?

 
Reply With Quote
 
 
 
 
S. Justin Gengo
Guest
Posts: n/a
 
      10-26-2005
Winshent,

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

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Winshent" <winshent-> wrote in message
news: ups.com...
> How do you stop form information being stored such as credit card info
> in a textbox?
>



 
Reply With Quote
 
 
 
 
Siva M
Guest
Posts: n/a
 
      10-26-2005
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.

"Winshent" <winshent-> wrote in message
news: ups.com...
How do you stop form information being stored such as credit card info
in a textbox?


 
Reply With Quote
 
Winshent
Guest
Posts: n/a
 
      10-26-2005
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.

 
Reply With Quote
 
Siva M
Guest
Posts: n/a
 
      10-26-2005
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.

"Winshent" <winshent-> wrote in message
news: oups.com...
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.


 
Reply With Quote
 
S. Justin Gengo
Guest
Posts: n/a
 
      10-26-2005
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.


--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"Siva M" <> wrote in message
news:...
> 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.
>
> "Winshent" <winshent-> wrote in message
> news: oups.com...
> 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.
>
>



 
Reply With Quote
 
Winshent
Guest
Posts: n/a
 
      10-26-2005
Excellent

Thanks verymuch for your posts.

Vincent

 
Reply With Quote
 
 
 
Reply

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A way to edit saved form information? Newfdog Firefox 8 10-14-2006 04:02 PM
Saved Mail Gone and Sent Mail Not Being Saved Gregg Firefox 6 03-06-2006 02:13 AM
Saved Form Information Does Not Work Terri Firefox 0 02-09-2006 08:21 PM
Saved Form Information checkbox? rwrede Firefox 1 03-27-2005 04:09 AM
Browser information not being sent to the Domain Master Browser Russell Stamper Cisco 1 10-12-2004 08:14 PM



Advertisments