> I need some confirmation of an problem. I have some legacy code that
passes
> the RequestTimeout variable as FORM variable. I know that it must be
passed
> as a URL variable.
>
> Is there anything I can do in the code that can bypass this without
changing
> the forms?
>
Either change the Form to "get" or change the "action script".
By adding CFPARAMS to your action script you can make it accept "both" URL
and Form variables.
Consider a 'Form scoped" variable called "TimeOut". If you add a:
<cfparam name="TimeOut" default=10> to the top of your action script, you
can then refer to the "timeout" variable in that script. (but Not
Form.Timeout, just plain old #TimeOut#)
That action script will now accept both Form AND URL variables named
"TimeOut" so it won't matter how you send the data.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists