Also try testing the length. I used to have problems with Oracle sometimes
returning null padded strings which won't be helped by a trim
----- Original Message -----
From: "Andrew Scott" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, August 24, 2001 10:06 PM
Subject: RE: It Matchs, but CFIF says it doesn't
> Try eq instead of is?
>
>
> -----Original Message-----
> From: Owens, Howard [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 25 August 2001 10:35 AM
> To: CF-Talk
> Subject: It Matchs, but CFIF says it doesn't
>
>
>
> I'm doing a little security check:
>
> <cfif session.AD_SEC_LEV IS "administrator">
> You're good to go.
> <cfelse>
> You are the weakest link. Goodbye.
> </cfif>
>
> Now, I KNOW for a fact that the exact variable I'm passing as the
> session.AD_SEC_LEV is indeed "administrator"
>
> But I keep getting the cfelse portion of the conditional.
>
> I KNOW it matches. I've checked with <cfoutput>. What are some reasons
> CFIF is telling me it doesn't?
>
> (It's probably something simple that I'm missing, but so far, I can't
> figure
> it out).
>
> Thanks.
>
> H.
>
>
>
>
> Howard Owens
> Internet Operations Coordinator
> www.insidevc.com
> [EMAIL PROTECTED]
> AIM: GoCatGo1956
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
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