What am I doing wrong here in the syntax?
Some of the accounts have the group "users" and others don't. The below
code works to a certain point.
I also need to check if the cookie has "users" and ONLY "users". The
ContainsNoCase doesn't seem to work. Probably because its the wronf one to
use? Should I be using the ListFirst?
<cfif listFindNoCase(COOKIE.DisplayGroups, "test") OR
listFindNoCase(COOKIE.DisplayGroups,
"contract") OR
listFindNoCase(COOKIE.DisplayGroups, "hrls")
OR
listFindNoCase(COOKIE.DisplayGroups,
"support") OR
listFindNoCase(COOKIE.DisplayGroups, "tax")
AND
ListFindNoCase("fmt",listLast(#Session.stDirFileName[i]#, ".")) OR
listContainsNoCase(COOKIE.DisplayGroups,
"users") AND
ListFindNoCase("fmt",listLast(#Session.stDirFileName[i]#, "."))>
<cfelse>
LIST DIRECTORY STRUCTURE EXCEPT FOR
"FMT"
</cfif>
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists