|
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
<%
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.
|