This is a multi-part message in MIME format.

------=_NextPart_000_0002_01BFFC6E.F87236A0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Here's the URL2Form tag that I mentioned. I placed a call to it in the
Application.cfm for load testing purposes with WAS. So far so good...

Matt

------=_NextPart_000_0002_01BFFC6E.F87236A0
Content-Type: application/octet-stream;
        name="URL2Form.cfm"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
        filename="URL2Form.cfm"

<cfsetting enablecfoutputonly=3D"yes">
<!--- This tag will turn all 'URL' scoped variables into 'Form' scoped =
variables. =20
--->
<cfif isdefined("cgi.query_string") and isdefined("cgi.path_info")>
        <cfif len(cgi.query_string)>
                <cfloop list=3D"#cgi.query_string#" delimiters=3D"&" =
index=3D"valuepair">
                        <cfset URLName =3D "#ListGetAt(valuepair, 1, "=3D")#">=20
                        <CFIF refindnocase("[[:alpha:]]",left(trim(urlname),1)) and 
NOT =
ISDEFINED( 'caller.FORM.' & urlname )>
                                <cfset "caller.form.#urlname#" =3D 
"#evaluate("url."&"#urlname#")#">
                        </CFIF>
                </cfloop>
        </cfif>
</cfif>
<cfsetting enablecfoutputonly=3D"No">


------=_NextPart_000_0002_01BFFC6E.F87236A0--

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to