|
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")
BrowserType
Specifies the name of the object created by the call to Server.CreateObject.
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 Browser Capabilities component Browsecap.ini file. When it 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 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.