Do anybody have any idea how to make HTTP authorization with CF?
I've tried something like this with no success (assuming user will enter
"user"/"password" as the credentials:
---
<cfif Auth_User is "user" and Auth_Password is "password">
success!
<cfelse>
<cfheader name="'WWW-Authenticate" value="BASIC base64encodingofname
realm=""Private""">
<cfheader statuscode="401" statustext="Unauthorized">
</cfif>
---
Please tell me were am I wrong?

TIA

stas@

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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.

Reply via email to