Mark W. Breneman wrote:
> Can CF (I'm running cfmx7) get the username and password from HTTP
> Authentication? I think that is the correct name for that.
> User:[EMAIL PROTECTED]

If the webserver is configured properly (to *not* touch the 
authorization header) that would be:

<cfset variables.rs = ListLast(cgi.authorization," )>
<cfset variables.dec = 
ToString(ToBinary(Left(variables.rs,Len(variables.rs)-1)))>
<cfset variables.username = ListFirst(variables.dec,":")>
<cfset variables.password = ListLast(variables.dec,":")>

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209577
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to