10.1 Browser Capabilities Component

The Browser Capabilities Component determines which features a browser supports. This component uses two files: Browscap.ini and Browscap.dll (libchilicap.so and libchilicap.ini on UNIX).
Set BrowserType = Server.CreateObject("MSWC.BrowserType")
When a client requests a page from the server, the HTTP header includes a user agent ASCII string that specifies the browser software name and version. The Browser Capabilities component searches for this string in the Browsecap.ini file. When if finds a match, the properties of the client browser are read and the server adopts the properties of the browser.
The following table lists the minimum set of properties that ASP always checks:
Property
|
Description
|
ActiveXControls
|
Support for Active X Controls
|
Backgroundsounds
|
Support for background sounds.
|
Beta
|
Is browser beta software?
|
Browser
|
Browser name.
|
Cookies
|
Support for cookies.
|
Frames
|
Support for frames.
|
Javaapplets
|
Support for Java applets.
|
Javascript
|
Support for JavaScript.
|
Majorver
|
Major version number of the browser.
|
Minorver
|
Minor version number of the browser.
|
Parent
|
Parent browser (as defined in browscap.ini).
|
Platform
|
User's operating system.
|
Tables
|
Support for HTML tables.
|
Vbscript
|
Support for VBScript.
|
Version
|
Full version number of the browser.
|
Copyright © 2000 Chili!Soft
|