detect browser capabilities

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

i think this comes with IIS

though i think the one with ISS only works for IE and is very basic, as its an example

After I get back to FL I will update the ini file on all servers, we have done it on a few, but I will update all of them sometime next week.

[QUOTE=Stephen]
After I get back to FL I will update the ini file on all servers, we have done it on a few, but I will update all of them sometime next week.
[/QUOTE]

Thanks Stephen
please update us when you do.

This is done, and I forgot to update it, I finshed it earlier today.

excellent, works great

http://talknsave.net/test/path.asp