True,

But in our IIS log, we found some spiders that had that in the string.  The
difference was that the spiders had commas on both sides of the word, not
spaces.  I could probably have used 'CGI.HTTP_USER_AGENT Contains " MSIE "'
instead, but ease of development our the primary concern right now.  We will
start addressing these performance hits soon though.

Thanks for the heads up.

Russel

============================================================
  Russel Madere, Jr.         Senior Web Developer
  ICQ: 5446158               http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.
============================================================


> -----Original Message-----
> From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 11, 2001 10:47
> To: CF-Talk
> Subject: RE: chking of version in CF?
>
>
> > Use the CGI Variable CGI.HTTP_USER_AGENT.
> >
> > This little bit of code will detect any version od Internet Explorer:
> >
> >   <cfif ListContains(CGI.HTTP_USER_AGENT, "MSIE", " ")>
> >   </cfif>
>
> List commands are actually quite slow - try using
>    <cfif CGI.HTTP_USER_AGENT Contains "MSIE">
>    </cfif>
>
> It should be faster
>
> Philip Arnold
> Director
> Certified ColdFusion Developer
> ASP Multimedia Limited
> T: +44 (0)20 8680 1133
>
> "Websites for the real world"
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> **********************************************************************
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to