What the ....

I keep getting different results.

When I log on with a test account the groups assigned ato my cookie 
are  "tax,hrls,Users"

My sub-directories are

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

What gets listed is just the files. The directory [test] should be listed also.


When I log on with a another account the groups assigned 
are  "hrls,support,tax,contract,Users,Administrators"

My sub-directories are

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

What gets listed are just the files. No sub-directories. In this case they 
should ALL be listed.

Below is my code. What am I doing wrong???????

                                 <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]#, 
".")))>
                                 <cfelse>
                                                 RUN CODE FOR DIRECTORY LISTING
                                 <cfif>




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

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


______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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