Actually, what is happening is that in the combination of events I
described, the form field values are being 'duplicated'.

<form name="Firstname" value="Mandy">

Will be passed to the recieving page as:
<cfoutput>"#form.FirstName#"</cfoutput>
Which would resolve to: "Mandy,Mandy"

So, I'm afraid it's not a scoping issue.

To get a better feel for the actual problem, you can read up about it here:
http://www.houseoffusion.com/cf_lists/cache/4/23/23107.htm

Calvin


----- Original Message ----- 
From: "webguy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 9:45 AM
Subject: RE: GET/POST, forms and query strings...


> That is a scoping issue. The is nothing in the HTTP protocol, that
actually
> says that its not ok to have the same name in a query string and as a form
> field.
>
>
> You might be better dealing with the QUERY_STRING and FORM collection
> explictly  or prevent it happending in the first case. Maybe have a look
at
> Nathan Dintenfass' QueryStringDeleteVar function at cflib.org , which
allows
> you to remove specified values from a URL querystring
>
> WG
>
> > Thanks for that response WG, it certainly got me thinking...
> >
> > To provide more information, we are experiencing the particular issue
> > where certain browsers on certain operating systems will submit double
> > values for form fields and it will be interpreted by certain middleware
> > products (ColdFusion 5, maybe MX) as such, apparently when there is a
> > query string being submitted with form fields.
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to