I'm hoping its just syntax but this UDF is not doing what I want it to do. I think I got the syntax correct?
http://www.cflib.org/udf.cfm/islistinlist
My cookie contains the following example:
COOKIE.check = "contact,support,test,Administrators"
<cfif isListInList("Administrators,support","#COOKIE.check#",",",",",true)>
Show Prodcut
<cfelse>
Don't show product
</cfif>
When I run the above sample "Show Product" gets output.
If I change my cookie
COOKIE.check = "Users,System" and run the below:
<cfif isListInList("Administrators,support","#COOKIE.check#",",",",",true)>
Show Prodcut
<cfelse>
Don't show product
</cfif>
It outputs "Show Product"
Whats happening????
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
