> so which would be correct...
>
> If...
> <cfcookie name="permissionid" value="10" expires="NEVER">
>
> then...
> <cfif cookie.permissionid EQ 10>
>
> or...
> <cfif cookie.permissionid EQ "10">

Both are correct, in the practical sense, in that they both work. It may, in
fact, be the case that the first is faster, although many CF developers
(including myself) are in the habit of wrapping all literal values in quotes
and treating them as strings.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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