> We'll be using a Novell iChain proxy server for user 
> authentication and authorization in front of a ColdFusion 4.5 
> website. 
> How would I access the HTTP_AUTHORIZATION header in CF? 
> 
> I know it's populated b/c I have an .asp page that's 
> displaying it. That is:
> - asp code: 
> EncodedAuthHeader = Request.ServerVariables("HTTP_AUTHORIZATION")
> Response.Write "Encoded_AuthHeader: " + EncodedAuthHeader + "<BR>"
> - asp result:
> Encoded_AuthHeader: Basic 
> Y249U2FtbXlBZ2VudCxvdT1Vc2VycyxvdT00ODEwMCxvdT1BZ2VuY2llcyxvPU
> NTRVBVQkxJQzpTYW1teVBTV0Q=
> - cfm code:
> <CFOUTPUT>
> CGI.HTTP_AUTHORIZATION {#CGI.HTTP_AUTHORIZATION#} </CFOUTPUT>
> - cfm result:
> CGI.HTTP_AUTHORIZATION {}

That should work, actually. Since it doesn't, you might want to just dump
the CGI scope to see what's in there.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193504
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