Arg...this is driving me nuts. I'm having trouble understanding the 
combined expressions.

I'm displaying a directory structure with the following sub-directories:

[test]
[eps]
[fmt]
[format]
..text file...
..text file...

If the user has a assigned group of "Users" and ONLY "Users" the following 
gets displayed which is correct:

[test]
..text file...
..text file...

If the user has a assigned group of "Administrators,Users" then the 
following gets displayed which is  NOT correct:

[eps]
[test]
..text file...
..text file...

I know the syntax is not correct but I can't figure it out. Below is my code.

Help...

<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("eps",listLast(#Session.stDirFileName[i]#, ".")) OR
           ListFindNoCase("fmt",listLast(#Session.stDirFileName[i]#, ".")) OR
           ListFindNoCase("format",listLast(#Session.stDirFileName[i]#, 
".")) OR
           (COOKIE.displayGroups is "Users" AND
           ListFindNoCase("eps",listLast(#Session.stDirFileName[i]#, ".")) OR
           ListFindNoCase("fmt",listLast(#Session.stDirFileName[i]#, ".")) OR
           ListFindNoCase("format",listLast(#Session.stDirFileName[i]#, 
"."))))>




+-----------------------------------------------------------------------------------+ 

Philip Humeniuk
[EMAIL PROTECTED]
[EMAIL PROTECTED]
+------------------------------------------------------------------------------------+


______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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

Reply via email to