> 1) The USERAGENT param to CFHTTP did not become available
> until CF4.5.  I don't believe trying to set the user agent
> via CFHTTPPARAM in earlier version of CF will accomplish
> the desired effect. If you're not at 4.5, upgrade, then use
> CFHTTP USERAGENT=...

Actually, you can pass the desired user agent with CFHTTPPARAM. You can pass
any of the CGI variables normally sent by the browser using CFHTTPPARAM; you
just have to leave off the "HTTP_" part:

<CFHTTP URL="http://whatever.com"
        METHOD="POST">

        <CFHTTPPARAM TYPE="CGI" NAME="USER_AGENT" VALUE="Mozilla 9.0">

</CFHTTP>

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