Ok..here is the solution I came up with
and Morning everybody =)
!--- SECURITY CODE
CFIF IsDefined('DeptID')
CFLOOP INDEX="x" FROM="1" TO="#ListLen(form.DeptID)#"
cfif ListContains(session.currentprivileges,ListGetAt(form.DeptID,x),",")
EQ 0
cflocation url="#noclearance#"
Only if it can talk (running and ducking ;-)
At 07:56 AM 7/14/00 -0400, you wrote:
Is this the most eloquent solution to the problem?
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe
s"
/CFIF
/CFLOOP
/CFIF
!--- End SECURITY CODE
-Original Message-
From: Angél Stewart [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 14, 2000 7:56 AM
To: [EMAIL PROTECTED]
Subject: Re: My solution:Variable IN a list? How to check?
Ok..here is the solution I came up with
and
*drums fingers on desk*
Comedians..everyone wants to be a comedian.
I meant elegant.
I think.
*mutters*
*sneaks off to the thesaurus*
-Gel
:-)
- Original Message -
From: paul smith [EMAIL PROTECTED]
Only if it can talk (running and ducking ;-)
At 07:56 AM 7/14/00 -0400, you
Ok..here is the solution I came up with
and Morning everybody =)
!--- SECURITY CODE
CFIF IsDefined('DeptID')
CFLOOP INDEX="x" FROM="1" TO="#ListLen(form.DeptID)#"
cfif
ListContains(session.currentprivileges,ListGetAt(form.DeptID,x),",")
EQ 0
cflocation url="#noclearance#"
I think:
el·o·quent (l-kwnt) adj.
1.) Characterized by persuasive, powerful discourse
2.) Vividly or movingly expressive
is the word.
Of course elegant is good too.
Eric
From: Angél Stewart [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: My solution:Variable
*thunks head to desk*
What does that have to do wi
*siigh*
I don't even remember what I was trying to say anymore.
0_0
-Gel
- Original Message -
From: Eric Dawson [EMAIL PROTECTED]
I think:
el·o·quent (l-kwnt) adj.
1.) Characterized by persuasive, powerful discourse
2.)
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
[EMAIL PROTECTED]
http://www.fuseware.com
-Original Message-
From: Angél Stewart [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 14, 2000 1:48 PM
To: [EMAIL PROTECTED]
Subject: Re: My solution:Variable IN a list? How to check?
Oh.
Right.
the NOT keyword.
I'm going to rewrite the security
I started all this. My apologies, Angél
best, paul
PS ROFL ;-)
At 01:37 PM 7/14/00 -0400, you wrote:
*thunks head to desk*
What does that have to do wi
*siigh*
I don't even remember what I was trying to say anymore.
0_0
-Gel
- Original Message -
From: Eric Dawson [EMAIL
Well..you wrote my name with the little é..
So all is forgiven
;-P
I will change the code to reflect the changes with the NOT variable,
although I think the privileges list and the department id should always be
less than say 15 elements or so,it is more efficient than what I managed.
Thanks
11 matches
Mail list logo