[en] stand for English. I think the (compatible;) is what differentiates.
You may want to look into CFX_Browserhawk from the developers exchange.
That is a custom tag to determine browser versions.
Chris Evans
[EMAIL PROTECTED]
http://www.fuseware.com
-----Original Message-----
From: Lon Lentz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 01, 2000 8:58 AM
To: [EMAIL PROTECTED]
Subject: RE: browser detection
> From: Britta Wingenroth [mailto:[EMAIL PROTECTED]]
>
> This is the idea: I need to write an "if" statement based on if netscape
is
> being used. I would like to use the HTTP_USER_AGENT like this:
>
> <cfif HTTP_USER_AGENT IS NOT "">
>
> <cfif HTTP_USER_AGENT LIKE '%netscape%' >
This is IE: Browser is Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
This is Netscape: Browser is Mozilla/4.72 [en] (Windows NT 5.0; I)
It looks like the [en] is the Netscape indicator. Someone correct me if
I'm wrong.
Try using <cfif http_user_agent contains "[en]">
Lon Lentz
Applications Developer - GetLists.Com
DataWarehousing and List Sales - Market your lists on the Net!
[EMAIL PROTECTED]
941-541-9000 Ext. 210
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
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.eGroups.com/list/cf-talk
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.