Whats up with this ? 
Seems like the comparison is allowing any 'ole case to cause the <cfif compare to be 
'true'.


<cfset asod = tobinary(theUser.pw)>
<cfset asod = tostring(asod)>
<cfset asod = cfusion_Decrypt(asod, Hash(UCase(theUser.UserName)))>
<cfif asod EQ Attributes.password>
        <cfset goodlogin = "YES">
<cfelse>
        <cfset goodlogin = "NO">
</cfif>
        
<cfoutput>
asod = #asod#<br>
Attributes.password = #Attributes.password#<br>
GoodLogin = #GoodLogin#<br>
</cfoutput>

-------------------------------------
--- output is cut and pasted here---
-------------------------------------
asod = aaaaaa
Attributes.password = aaaAAA
GoodLogin = YES

______________________________________________________________________
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

Reply via email to