> <cfif IsDefined("cookie.Confirmed") EQ "Yes">
>
> should probably be rewrittened to
>
> <cfif IsDefined("cookie.Confirmed")>
>
> But I don't know if that would break things expecting it to be set to
> Yes. True or 1 perhaps... But Yes? I don't suspect that would work.

FWIW this should work, CF (oddly) returns "Yes" or "No" for boolean 
comparisons.  Of course, as you say, you don't really need the "EQ Yes" 
there in the first place.

<cfoutput>#1 is 1#</cfoutput>
Returns: "YES"

-- Josh 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313416
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to