http://www.cflib.org/udf.cfm/arrayfind
- Snake -----Original Message----- From: Eric J. Hoffman [mailto:[EMAIL PROTECTED] Sent: 03 August 2006 19:30 To: CF-Talk Subject: Security Setup/Array Find We have a complex matrix to determine granular security levels in our new app. We are planning on putting the resulting matrix into an array stored within a structure of their personal data. So we store all their capabilities in the different sections in the array, right? Session.auth.username Session.auth.email Session.auth.secure.(array here) Array would be like sectiona has a value of 1 Sectionb has a value of 5 Now on the pages, we need to query that array within that structure to see if they have that permission registered in the array. How do you query an array ....something like an Array Find for a value... ? Any comments on this scenario welcomed too I guess If we are missing something obvious. -------------------------------------------------------- Eric J. Hoffman Managing Partner 2081 Industrial Blvd StillwaterMN55082 mail: [EMAIL PROTECTED] www: http://www.ejhassociates.com tel: 651.717.4105 fax: 651.717.4115 mob: 651.245.2717 -------------------------------------------------------- This message contains confidential information and is intended only for [EMAIL PROTECTED] If you are not [email protected] you should not disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:248745 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

