Search Search

#1 worldwide
FREE Coding Lessons

since 1996
   THE BEST WAY to learn ASP & Asp.net!
Advertise Here!
click for details
Credits Host:
DiscountASP.net
Server Admin:
The "Team"
Contact Info.
Charles M. Carroll

my Blog
[prev. Lesson]  BrowserHawk: Determing Browser Type
     [next Lesson]  MS-Wallet w/BrowserHawk

Detect AOL browsers and versions

Many people ask about how to detect which version of an AOL browser is being used, particularly AOL version 3.0 and earlier.  This is because they find that certain form submissions may not work properly, or specific functionality, such as Macromedia Flash, will not work properly for their audience.

Regardless of the reason, should you find it necessary to check for the AOL version number, you can easily use the following script to do so.

   filename=/browserhawk/aolcheck.asp

<Test Script Below>


<%
set bh = Server.CreateObject("cyScape.browserObj")
aolVer = bh.AOLVersion 
if aolVer > 0 AND aolVer <= 3 then
   response.redirect "noaol3.asp"
end if
'Or for example, if you wanted to check for AOL Version 4 you would do this:
'  if bh.AOLVersion = 4 then ...

%>
<html>

<head>
<title>AOL check script</title>
</head>

<body>

<p>You are not using AOL v3 or lower</p>
</body>
</html>

Need a copy of BrowserHawk? See our section on Getting Started.

Copyright (c) 1999 cyScape, Inc.  All rights reserved.  This material may not be published, distributed, or reprinted without written consent from cyScape.

Chaz Wish List
Tall Tip $5
Grande Tip $20
Venti Tip $39
Tip Jar Thanks
2004 Thanks
2005 Thanks
HUGE Tip -love site