> I am sending an http request using cfhttp to register a user 
> on a remote site - the remote site is using asp. The asp code 
> is looking for the browser type in the cgi variables. I am 
> sending it the browser type as follows:
> 
> <cfhttp 
> url="http://remote.server.com/signup/signup.asp?username=andre
> a&password=sesame" method="post" resolveurl="true">
> 
> <CFHTTPPARAM TYPE="CGI" NAME="HTTP_USER_AGENT" VALUE="Mozilla/4.0 
> (compatible; MSIE 5.01; Windows NT)">
> 
> </cfhttp>
> 
> But the remote app is still balking and claiming that I have 
> an old browser version. Does anyone know if there is some way 
> that using the cfhttp tag can tack on some cgi variables that 
> cannot be overridden by the cfhttpparam? I have shown this code 
> to the asp developer who wrote the code that accepts the user 
> registration, and he said the HTTP_USER_AGENT variable looked 
> correct and is what his app is looking for.

Take out the "HTTP_" from the CFHTTPPARAM name, and it will work fine.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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