Thanks As always you guys came through. The answer to my problem was <cfif ListFind(session.ModuleList, 3)>
I don't know much about lists or arrays, so I really don't know the available functions. As for why I am using an array I found a piece of code in a book that seem to resolve an issue. When a person logs into my site The system check one table to see if they have a correct id and password, checks their status and their security level. If all is good and the users level is admin then they have access to everything. If they are just a user, then the system runs an additional query to see what system modules the user has access to. This is in a separate table and simply looks for the user id and module id. The modules that the user has access to are placed in an array and stored in a session variable. Depending on the page that the user is on and the section of the system they may or may not see various links based on the module access. I also place an if statement at the beginning of each individual module checking whether or not they have access. -----Original Message----- From: CF-Talk [mailto:[EMAIL PROTECTED] Sent: Friday, December 31, 2004 2:01 PM To: CF-Talk Subject: CF-Talk: Digest every 8 hours CF-Talk 31-Dec-04 Issue:1444 In this issue: Array issue Array issue Array issue Coldfusion & IIS behind firewall Extract year from date field Extract year from date field Extract year from date field Extract year from date field Extract year from date field Extract year from date field Extract year from date field Extract year from date field Extract year from date field Extract year from date field OT: query optimization OT: query optimization OT: query optimization Possible to pass formatting to Excel from CF? Possible to pass formatting to Excel from CF? QofQ: SELECT DISTINCT QofQ: SELECT DISTINCT Well - I feel like an idiot. Well - I feel like an idiot. Well - I feel like an idiot. Well - I feel like an idiot. Well - I feel like an idiot. Well - I feel like an idiot. Well - I feel like an idiot. Well - I feel like an idiot. Well - I feel like an idiot. Well - I feel like an idiot. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189083 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

