Chris you rock! That worked great. Thank you
Casey On 8/16/06, Kris Jones <[EMAIL PROTECTED]> wrote: > > Don't you just needt o add the leading slash to your list elements? > > <cfset noBanners = "/default.cfm,/planner.cfm" /> > <cfif listContainsNoCase(noBanners, cgi.script_name)> > > Try outputting the cgi.script_name to see what exactly it contains. > The list element must be a match for the listcontainsnocase to > work--it is not a string search. > > Cheers, > Kris > > > Is there a way I can turn something like this > > <cfif cgi.SCRIPT_NAME CONTAINS "/default.cfm" OR cgi.SCRIPT_NAMECONTAINS > > "/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. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:249953 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

