12:51 PM
To: CF-Talk
Subject: RE: Detecting HTTP_USER_AGENT
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 Messag
> 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.
>
&
ts itself in all versions, but the MSIE is a given
to catch Internet Explorer.
Heath
-Original Message-
From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 10:54 AM
To: CF-Talk
Subject: Re: Detecting HTTP_USER_AGENT
Try this:
Regards,
Howie Hamlin - in
Here is the exact code I use:
I set the value once per session so using the ListContains() function isn't
too big a hit.
Then I can use the SESSION.Browser variable to determine what browser the
user has. I.E.:
When Netscape 6.0 get bet
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:
On the first statement, don't you mean:
You need to use an "=" not the "eq" operatior. You use the symbol for
setting variables and the "eq" for comparisons.
You could actually just do something like:
HTH,
Jason
Jason Aden
Allaire Certified Developer
[EMAIL PROTEC
Try this:
Regards,
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc.
www.CoolFusion.com
631-737-4668 x101
inFusion Mail Server (iMS) - the World's most configurable mail server
Get your free copy of iMS POST-SE Server from CoolFusion!
- Original Message -
From:
Try this:
HTH,
Duane Boudreau, CTO
CFExperts, LLC.
-Original Message-
From: Richard L Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 10:41 AM
To: CF-Talk
Subject: Detecting HTTP_USER_AGENT
Hello:
Does
Use CONTAINS instead of EQ or IS in your CFIF-statement.
You might also want to add the prefix "cgi." to the variable
#http_user_agent#. That is #cgi.http_user_agent#.
I believe it's a good practice to tell CF that it is a cgi-variable, or else
CF has to find out. #http_user_agent# could be #URL
You could just do something very simple, like
It works for me, anyway. We checked the IIS logs, and found that 98.8% of
users were using IE 4+ or Nutscrape 4+. Of the other 1.2%, something like
95% were using pre-v4 IE/Nutscrape, so it's a fairly reasonable assumption
to mak
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 ge
11 matches
Mail list logo