Thanks, that actually looks alot cleaner!! Doug B.
----- Original Message ----- From: "Adrian" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Wednesday, January 24, 2007 7:46 AM Subject: Re: Solved(detect browser with <cfif>) > The manual: > http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functi81.htm > > Suggests: > <cfif findNoCase("Firefox",CGI.HTTP_USER_AGENT)> > > > On 24/01/07, Doug Brown <[EMAIL PROTECTED]> wrote: > > > > 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:267468 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

