In one of our customer site error handler I get sometimes msg as "Error resolving parameter HTTP_USER_AGENT". :)
In same error handler I have CGI scope dump and it is true that it is not defined there. Probably this is because of some robots etc. which does not provide user agent information but it is also weird for me. :) -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 24, 2007 1:17 PM To: CF-Talk Subject: RE: HTTP_HOST not defined > Actually, I just use HTTP_HOST, not CGI.HTTP_HOST, this could > explain the difference. In the dump, the CGI scope contains no > variable HTTP_HOST. If you refer to an unscoped variable that doesn't exist, you're going to get an error, even though you wouldn't get an error from a nonexistent CGI scoped variable. I don't know why HTTP_HOST doesn't exist in your CGI scope, but CGI variables can differ between servers. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284442 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

