Also remember first things first, don't forget to make sure that variable 
exists before attempting to code against it. More and more it's not getting 
reported, especially by bots or over-protective security software.

cfif StructKeyExists(CGI, "HTTP_USER_AGENT") AND FindNoCase...

I also see this problem a lot with code that assumes CGI.HTTP_REFERER will 
exist and contain meaningful data. If your user is running Norton full-bore, 
instant CF error.

HTH,
Scott

>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>)
>
>
>without
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:267534
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