Almost always you want to avoid listContains and use listFind instead. Does this work better for you?
<cfif listFindNoCase(nobanners, cgi.script_name)> Also note that cgi.script_name may not be what you think. You may want to output it. It may be /foo/default.cfm instead of just /default.cfm. On 8/16/06, Casey Dougall <[EMAIL PROTECTED]> wrote: > Is there a way I can turn something like this > > <cfif cgi.SCRIPT_NAME CONTAINS "/default.cfm" OR cgi.SCRIPT_NAME CONTAINS > "/Planner.cfm"> > > into listContainsNoCase > > <cfset noBanners = "default.cfm,Planner.cfm"> > > <cfif #listContainsNoCase(noBanners, "#cgi.SCRIPT_NAME#", ",")#> > > I can't get it to work but it seems like it should. > > -- > Casey > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249950 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

