We've had this question before.

see CF_BROWSER in the tag gallery. It's more robust (although not perfect)
than just using the CFIF stuff although it is a custom tag and gives more
info than you could need (although it seems to still only uses the
CGI.HTTP_USER_AGENT part).

Paul

PS Why not use:

<Cflocation url="#IIF(CGI.HTTP_USER_AGENT contains "MSIE", "iedoc.cfm",
"nsdoc.cfm")#">

> -----Original Message-----
> From: Shawnea Carter [mailto:[EMAIL PROTECTED]]
> Sent: 04 October 2000 20:59
> To: CF-Talk
> Subject: RE: Browser Detect and CFIF
>
>
> I use:
>
> <cfif HTTP_USER_AGENT contains "MSIE">
>
> Internet explorer stuff
> <cfelse>
>
> Netscape stuff
> </cfif>
>
> Shawnea Carter
> Internet4Associations
> www.internet4associations.com
>
>
>
> -----Original Message-----
> From: Guy J. McDowell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 04, 2000 2:56 PM
> To: CF-Talk
> Subject: Browser Detect and CFIF
>
>
> Hello CF_FOLK,
>
> Is there a simple way to do a browser check and then depending on the
> outcome have a specific outcome included via something like
>
> <cfif Browser ISNOT "Netscape">
>  <cfinclude template="IEdoc.htm">
> <cfelse>
>  <cfinclude template="NSdoc.htm">
> </cfif>
>
> Yours In Conservation,
>
> Guy J. McDowell,
> Webmaster
> The Ontario Federation of Anglers & Hunters
> E-mail: [EMAIL PROTECTED]
> Phone: (705) 748-6324 ext. 262
>
> P.S. You may want to check out all of our websites:
> www.AuctionForWildlife.com - Your chance to make your bid for
> conservation.
> www.EcoEd.org - an online adventure for kids in grades 1 through 8.
> www.HuntingDog.org - Celebrating our Hunting Dog Heritage.
> www.AHTV.com - Your online companion to the Angler and Hunter
> Television show.
> www.OHEP.net -  Where to find out and learn about the Ontario Hunter
> Education Program.
> www.OFAH.org - the flagship site of the Ontario Federation of Anglers
> & Hunters.
>
> P.S.S. Don't blame me for any of these sites except HuntingDog.org.
>
> ------------------------------------------------------------------
> ----------
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to