Hi,

I've just come acroos this in my app which I never noticed before.

I'm reading in a comma delimited list from my database and then setting it in a cookie. I then check the cookie to see if any of the following text exists and if so, do something...etc.
Whats wrong with my syntax?

COOKIE.check = "contact,support,test,Administrators"

<cfif listFindNoCase(COOKIE.check, "Administrators,support"))>
   Do this
<cfelse>
   Do else
</cfif>

Is the listFindNoCase looking for the "exact" match of the two or just one of the occurence of either one. Basically I need to check the cookie to see if any of the above exist in any order.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to