Why don't you need the CGI scope? If you don't specify it CF will have to
search through a number of scopes to find it.

----
Jason Aden
Allaire Certified Developer
[EMAIL PROTECTED]
www.wwstudios.com

> -----Original Message-----
> From: Dylan Bromby [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 11:00 AM
> To: CF-Talk
> Subject: RE: Detecting HTTP_USER_AGENT
>
>
> you don't need the CGI scope. i think you're looking for strings that are
> too specific in your code.
>
> try looking for the presense of MSIE or not.
>
> -----Original Message-----
> From: DeVoil, Nick [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 7:50 AM
> To: CF-Talk
> Subject: RE: Detecting HTTP_USER_AGENT
>
>
> CGI.HTTP_USER_AGENT?
> ^^^
> -----Original Message-----
> From: Richard L Smith [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 3:41 PM
> To: CF-Talk
> Subject: Detecting HTTP_USER_AGENT
>
>
> Hello:
>
> Does any one know of a way to use HTTP_USER_AGENT to do page
> redirects with
> CF?
>
> I am trying to get a template to output code based on the browser
> type NS or
> MSIE so far nothing seems to work.
>
> Here's the code i am using so far
>
>
> <cfset "brow" eq "#HTTP_USER_AGENT#">
> <cfif "brow" eq "Mozilla/4.7 [en]">
> <cflocation url="index.cfm">
> <cfelseif "brow" EQ "Mozilla/4.01 (compatible; MSIE 4.01; Windows NT)">
> </cfif>
>
> Thanks
> Rick
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to