<BEGINSNIP>
<cfparam name="attributes.json" default="On">
<cfif (attributes.json is "ON") or (attributes.json is "On") or
(attributes.json is "on") >
<cfinclude template="../JStmp/js_logcheck.cfm">
<cfset json = "On">
</cfif>
</BEGINSNIP>
Why not just say:
<cfif Ucase(Attributes.Json IS "ON"></cfif>? Much faster and easier and
makes sure all aspects are covered?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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