either should be correct.  but this is such a simple example, try it out.
it's only a difference of two quotation marks.

Chris Olive
DOHRS Website Administrator
[EMAIL PROTECTED]


-----Original Message-----
From: Steve Reich [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 13, 2000 8:47 AM
To: [EMAIL PROTECTED]
Subject: Re: CF is typeless, but...?


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">


Steve


----- Original Message -----
From: "Olive, Christopher M Mr USACHPPM"
<[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 13, 2000 8:40 AM
Subject: RE: CF is typeless, but...?


> it's neither.  as you said, CF is typeless.
>
> it only "becomes" a type when you do something to it.  CF puts off the
> typing secision until then.
>
> Chris Olive
> DOHRS Website Administrator
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Steve Reich [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 12, 2000 7:43 PM
> To: <cf_talk>
> Subject: CF is typeless, but...?
>
>
> Say I set a cookie....
>
> <cfcookie name="permissionid" value="10" expires="NEVER">
>
> When I call the cookie, is the value a string or a number?
>
> Thanks,
> Steve
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> "640K ought to be enough for anybody!"
>
>                                 -Bill Gates, 1981
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> --------------------------------------------------------------------------
--
> --
> 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.
> --------------------------------------------------------------------------
----
> 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.
>

----------------------------------------------------------------------------
--
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.
------------------------------------------------------------------------------
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