Changed it as CGI.HTTP_USER_AGENT and let us see what will happen. :)

Dave, thanks for the tip!


-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 24, 2007 1:47 PM
To: CF-Talk
Subject: RE: HTTP_HOST not defined

> Probably this is because of some robots etc. which does not 
> provide user agent information but it is also weird for me. :)

However, if you refer to CGI.HTTP_USER_AGENT rather than just
HTTP_USER_AGENT, CF will resolve it to an empty string rather than an
undefined variable.

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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284449
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to