Open Directory Site ASP Tutorials

ASP | XML | VBScript | JavaScript | ADO | CSS | XMLDOM | PHP | Operating Systems

Home >> ASP >> Active Server Components

  Active Server Components

Components

Components are reusable code blocks. The code block performs a common task (like deleting a record in a database). Components can be accessed by other pages and other applications. This is very powerful; you do not have to write the same code over and over again on different pages or in different applications. Components can be created in C, C++, Java, VB, etc.

Active Server Components

ASP comes with some built-in components that can handle common tasks:

Component Description

Ad Rotator The Ad Rotator component creates an Ad Rotator object that displays

a different advertisement each time a user enters or refreshes a page

Browser Capabilities The Browser Capabilities component creates a BrowserType object

that gives you a description of the capabilities of the client's browser

Content Rotator The Content Rotator component creates a ContentRotator object that

displays a different HTML content string each time a user enters or

refreshes a page

Content Linking The Content Linking component creates a Nextlink object that holds a

list of urls, which is used to treat web pages like a book

Counter The Counter component creates a Counters object that can create,

hold, increment, and get any number of individual counters

Database Access The Database Access component uses ActiveX Data Objects (ADO)

to access information stored in a database

File Access The File Access component exposes methods and properties for

accessing the computer's file system. You can use this component to

create a FileSystemObject Object which provides the methods

properties and collections you use to access the file system

MyInfo The MyInfo component creates a MyInfo object that keeps track of

personal information

Page Counter The Page Counter component creates a PageCounter object that

counts and displays the number of times a Web page has been opened

Permission Checker The Permission Checker component creates a PermissionChecker

object that uses the password authentication protocols provided in

Microsoft Internet Information Services (IIS) to determine whether a

Web user has been granted permissions to read a file

Tools The Tools component creates a Tools object that provides utilities that

enable you to easily add sophisticated functionality to your Web pages

Status The Status component creates a Status object that has

properties that contain server status information. This server status is

only available on Personal Web Server for Macintosh

Cheap Web Hosting Articles - Web Site Design & Web Hosting Tutorials - Domain Hosting