Using ASP Components
Yet another class of ASP object is an ASP component. Microsoft furnishes you with support for several component objects, including these:
Browser Capabilities
Ad Rotator
Content Linking
Content Rotator
Page Counter
Permission Checker
Because browsers are familiar to most people, this section considers the Browser Capabilities component in some detail.
The Browser Capabilities component enables you to detect the type of client browser accessing your Web site. To create an instance of the Browser Capabilities component, you use the Server object's CreateObject method. The following code shows an example of creating an instance of the Browser Capabilities component:
Set bc = Server.CreateObject("MSWC.BrowserType")
You can use the ...
Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.