Oh. Right. the NOT keyword. I'm going to rewrite the security code on all the pages to reflect this.. ... ... ... Not..:-) -Gel p.s. All jokes aside, thanks a lot for replying and giving an alternate solution. I really don't recall why I didn't use NOT, instead of EQ 0 :-) ----- Original Message ----- From: Chris Evans <[EMAIL PROTECTED]> > I may be missing a pice of logic, but this may work a little better: > > <!--- SECURITY CODE ----> > > <CFIF IsDefined('DeptID')> > <CFLOOP List="form.DeptID" INDEX="x"> > <cfif NOT ListContains(session.currentprivileges,x)> > <cflocation url="#noclearance#" addtoken="yes"> > </CFIF> > </CFLOOP> > </CFIF> > > <!--- End SECURITY CODE ----> ------------------------------------------------------------------------------ Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
- Variable IN a list? How to check? Angél Stewart
- RE: Variable IN a list? How to check? Chris Evans
- Re: Variable IN a list? How to c... Angel Stewart
- RE: Variable IN a list? How to check? Lee Fuller
- Re: Variable IN a list? How to c... Angel Stewart
- RE: Variable IN a list? How to c... Philip Arnold - ASP
- Re: My solution:Variable IN ... Angél Stewart
- Re: My solution:Variable IN ... paul smith
- Re: My solution:Variable IN ... Angél Stewart
- RE: My solution:Variable IN ... Chris Evans
- RE: My solution:Variable IN ... Angél Stewart
- RE: My solution:Variable IN ... Chris Evans
- RE: My solution:Variable IN ... Sean Daniels
- RE: Variable IN a list? How ... Duane Boudreau
- RE: Variable IN a list? How ... Philip Arnold - ASP
- RE: Variable IN a list? How ... Duane Boudreau
- Re: Variable IN a list? How ... Angel Stewart
- RE: Variable IN a list? How ... David Gassner
- Re: Variable IN a list? How to check? Deanna L. Schneider
- RE: CFLOCK and Client Variables mherbene
- RE: CFLOCK and Client Variables Cameron Childress