473,785 Members | 2,792 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

form fields and no-cache

Is it possible to stop 1 single form field from being cached?
I would like all the name and address fields to be cached by Internet
Explorer, but not the credit card field.
How is that done?
thanks
Jul 20 '05 #1
11 30426
shank wrote:
Is it possible to stop 1 single form field from being cached?
Cached? Do you mean you don't want the browser to save certain form
data? If so, then you can't force what you want on the client end.
IE/Win might be conned into not saving it, but other browsers will not.
I would like all the name and address fields to be cached by Internet
Explorer, but not the credit card field.


It sounds like you need to take some security 101 courses, preferably
before accepting credit cards on the net. Do you have ssl? A certificate?

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #2
On 22/7/04 11:10 pm, shank wrote:
Is it possible to stop 1 single form field from being cached?
I would like all the name and address fields to be cached by Internet
Explorer, but not the credit card field.
How is that done?
thanks


Try this:
<INPUT name="creditcar d" type="text" autocomplete="o ff">

--
Philip Ronan
ph***********@v irgin.net
(Please remove the "z"s if replying by email)
Jul 20 '05 #3
That's it!
thanks!

"Philip Ronan" <ph***********@ virgin.net> wrote in message
news:BD269203.1 E81A%ph******** ***@virgin.net. ..
On 22/7/04 11:10 pm, shank wrote:
Is it possible to stop 1 single form field from being cached?
I would like all the name and address fields to be cached by Internet
Explorer, but not the credit card field.
How is that done?
thanks


Try this:
<INPUT name="creditcar d" type="text" autocomplete="o ff">

--
Philip Ronan
ph***********@v irgin.net
(Please remove the "z"s if replying by email)

Jul 20 '05 #4
"shank" <sh***@tampabay .rr.com> wrote:
That's it!
thanks!

"That's it" in browsers where that works. What about browsers where
that doesn't work?

"Philip Ronan" <ph***********@ virgin.net> wrote in message
news:BD269203. 1E81A%ph******* ****@virgin.net ...
On 22/7/04 11:10 pm, shank wrote:
> Is it possible to stop 1 single form field from being cached?
> I would like all the name and address fields to be cached by Internet
> Explorer, but not the credit card field.
> How is that done?
> thanks
>
>


Try this:
<INPUT name="creditcar d" type="text" autocomplete="o ff">

--
Philip Ronan
ph***********@v irgin.net
(Please remove the "z"s if replying by email)

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 20 '05 #5
On 24/7/04 2:47 pm, Harlan Messinger wrote:
"That's it" in browsers where that works. What about browsers where
that doesn't work?


<INPUT .. autocomplete="o ff"> is an IE attribute that switches off an IE
feature. Other browsers will ignore it.

--
Philip Ronan
ph***********@v irgin.net
(Please remove the "z"s if replying by email)
Jul 20 '05 #6
Philip Ronan wrote:
<INPUT .. autocomplete="o ff"> is an IE attribute that switches off
an IE feature. Other browsers will ignore it.


I should be so lucky. Mozilla also switches off form fill-in support
on such sites. There used to be a preference to override it, but it
seems to have diappeared in Firefox.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #7
On 24/7/04 6:25 pm, Brian wrote:
Philip Ronan wrote:
<INPUT .. autocomplete="o ff"> is an IE attribute that switches off
an IE feature. Other browsers will ignore it.


I should be so lucky. Mozilla also switches off form fill-in support
on such sites. There used to be a preference to override it, but it
seems to have diappeared in Firefox.


Well at least the page is behaving as the author intended :-)

In fact I think it's a good idea adding this attribute to an input field for
a credit card number. Surely nobody would be insane enough to want this
entered automatically. And you wouldn't want your phone number to appear in
there after you pressed the first digit, would you? So what's the problem?

--
Philip Ronan
ph***********@v irgin.net
(Please remove the "z"s if replying by email)
Jul 20 '05 #8
Philip Ronan wrote:
Brian wrote:
Philip Ronan wrote:
<INPUT .. autocomplete="o ff"> is an IE attribute that switches
off an IE feature. Other browsers will ignore it.
I should be so lucky. Mozilla also switches off form fill-in
support on such sites. There used to be a preference to override
it, but it seems to have diappeared in Firefox.


Well at least the page is behaving as the author intended :-)


Heh, yeah.
In fact I think it's a good idea adding this attribute to an input
field for a credit card number. Surely nobody would be insane
enough to want this entered automatically.
Why not? I want it entered in automatically on my home computer, since
someone would have to break into my house and steal my computer to
get the number. And if they did that, they're just as likely to have
the card itself.
And you wouldn't want your phone number to appear in there after
you pressed the first digit, would you?


Well, yes I would. I want my default browser to ask me when I enter
form data if it should save it and reenter it automatically next time.
Mind you, the browser should not do this without asking, since that
would be a privacy violation, in particular in public situations
(kiosk browser, library, etc.). A well run internet cafe or library
would configure the browser to disable saving form data. But that
should be done on the client side.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #9
Tim
Philip Ronan wrote:
In fact I think it's a good idea adding this attribute to an input
field for a credit card number. Surely nobody would be insane
enough to want this entered automatically.

Brian <us*****@juliet remblay.com.inv alid> posted:
Why not? I want it entered in automatically on my home computer, since
someone would have to break into my house and steal my computer to
get the number. And if they did that, they're just as likely to have
the card itself.


What does IE do if someone hid that form gadget, yet IE has cached answers
for it? Does it autofill it with your credit card again, and you might you
unknowingly submit it to someone?

That's not something I'd care to experiment with, nor would I be very
surprised at IE doing something very stupid.

--
If you insist on e-mailing me, use the reply-to address (it's real but
temporary). But please reply to the group, like you're supposed to.

This message was sent without a virus, please delete some files yourself.
Jul 20 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4299
by: Paxton | last post by:
At the risk of being told "If it ain't broke, don't fix it", my code works, but is ugly. Part of the admin site I'm working on at the moment includes a facility for users to enter Formulations (recipes for making cosmetics etc) in 3 stages: Stage 1: basic info such as title, method etc and number of Phases (steps in recipe). Stage 2: dynamically generated form containing the exact number of phases as textboxes, depending on the number...
4
2653
by: bnp | last post by:
Hi All, I am quite new the JavaScript. Basically I am a C++ programmer, but now I am working on JavaScript since last 5 days. I have a problem regarding the form validation. I have created a script that validates the form fields. the validation procedure is called ONCLICK event of the submit button. Follwowing is the structure of the validation procedure.
3
2118
by: Nelson R. | last post by:
Hi, im using a form to get some input from the user. This form is in a HTML file. When I post the form directly to my email, i receive all fields correctly. Example test.html: <FORM action="MAILTO:myemail@work.com" method=post enctype="text/plain">
4
4013
by: MicroMoth | last post by:
Hi, I'm trying to write a update method, in which when the user clicks the update button the update method is passed 10 form fields. Then a update SQL is run to update the database. My question is whats the best way to pass large numbers of parameters into a method. Ten seems a large number to be passing into and out of a method. Stephen
7
3821
by: Chuck Anderson | last post by:
I'm pretty much a JavaScript novice. I'm good at learning by example and changing those examples to suit my needs. That said .... ..... I have some select fields in a form I created for a database search that I am unable to figure out how to access. (The search is implemented in Php/MySQL.) The user enters search values for: name, address1, city, .... etc., ..... and for each of these they also select whether the search should...
4
2531
by: Mike De Petris | last post by:
I am using itextsharp to fill in and flatten some fields from data filled in a web form field and all works quite well. The question now is how to manage the pdf template that has the fields to be filled, changing it in acrobat is slow and difficult as there are no word processing tools. I tryed Foxit PDF Editor but cannot find a way to name the form fields. Is there a way to mantain a source document, for example in Word and...
1
1552
by: AR123 | last post by:
Hi I have set up mandatory form fields but it dosne t seem to be working. Would appreciate it if somone could have a look. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Proforma</title> <meta http-equiv=Content-Type content="text/html; charset=windows-1252">
26
3907
by: pepper.gabriela | last post by:
Hello, a stupid question but... page_A.php is a page with a form. The user inserts text in four fields, then he clicks a submit button. The data goes to page_B.php: this page controls the data submitted, then echoes a message. If there were problems with the submitted data the message says: "a problem occurred with your data. Click here to come back to the form" (page_A.php). When the user comes back, he finds the fields white.
1
3709
by: ERobishaw | last post by:
Using Winform app writing a HTTP Post using the following... on the server side, I get no form fields. Request.Form.AllKeys.Length = 0. If I put the field/value paris in the URL I can use Request to retrieve the values, but POST doesn't work. There is NO Proxy... the only thing I can think is that ASP.NET is somehow filtering out the page because I'm obviously not posting the viewstate??? Seems like there was some setting for this,...
1
3420
by: Rick Owen | last post by:
Greetings, I have a form that, when submitted, calls a plsql procedure. The form has a number of fields (text, hidden, select, radio) but the particular field that is giving me problems is a <selectwhich allows multiple selection. When I receive the form values in my procedure I getting only the first value of those that are selected. For example if I select 1000, 1100, 1200, 1300 in the list I only get 1000 in my procedure. If I...
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9953
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7502
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6741
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5513
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4054
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3655
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2881
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.