Actually this seems to work...

<CFIF CGI.HTTP_USER_AGENT does not contain ("Firefox")>

Doug B.
----- Original Message ----- 
From: "Doug Brown" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Wednesday, January 24, 2007 7:37 AM
Subject: detect browser with <cfif>


> How can I detect the browser with an if statement? I have tried without
luck. Is there a regex to do the trick?
>
> <cfif findNoCase(CGI.HTTP_USER_AGENT, "Firefox")>
>
> Doug B.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267464
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