> Let's say you have a page with lots of URL variables. (I.E.
> url.search, url.lang, url.homepage, url.custscript, url.start,
> url.end, url.frontscope, etc. etc. etc.)
>
> And you don't want to code a CFIF for each URL seperately for
> the same parameter.
In CF 4.x, you can loop through the URL and Form scopes, since they're
structures:
<cfloop collection="#URL#" item="ThisURLVar">
<cfif ThisURLVar contains "goofy">
do this
</cfif>
</cfloop>
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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