i found the following script here: http://www.abiglime.com/webmaster/articles/asp/121798.htm
[INDENT]<%
’ create an instance of the Browser Capabilities component
Set browserdetect = Server.CreateObject(“MSWC.BrowserType”)
’ find some properties of the browser being used to view this page
browser=browserdetect.Browser
version=browserdetect.Version
majorver=browserdetect.Majorver
minorver=browserdetect.Minorver
platform=browserdetect.Platform
frames=browserdetect.Frames
tables=browserdetect.Tables
cookies=browserdetect.Cookies
javascript=browserdetect.JavaScript
’ send some output to the web browser
response.write ("Browser: " & browser & “
”)
response.write ("Version: " & version & “
”)
response.write ("Majorver: " & majorver & “
”)
response.write ("Minorver: " & minorver & “
”)
response.write ("Platform: " & platform & “
”)
response.write ("Supports frames: " & frames & “
”)
response.write ("Supports tables: " & tables & “
”)
response.write ("Supports cookies: " & cookies & “
”)
response.write ("Supports JavaScript: " & javascript & “
”)
%>[/INDENT]
BUT… on my IE6 (XPP, SP2), i get the following:
[INDENT]
Browser: Netscape
Version: 4.00
Majorver: 4
Minorver: 00
Platform: unknown
Supports frames: True
Supports tables: True
Supports cookies: True
SupportsJavaScript: True [/INDENT]
I know there are other methods as well, i’m just confused at why this one doesnt work. could the browscap.ini file be old?
thanks