# ASP Script Examples

Active Servers Pages (ASP) is one of the features that make IIS the premier Web server. Never before has it been so easy to create useful, interactive, Web-based applications, even if you have relatively little experience with programming. If you are a more advanced user, ASP provides a way to rapidly create sophisticated and robust Web applications without dedicating the often substantial resources required for development in a more conventional programming language environment, such as C++ or Java.

This section provides an overview of the capabilities of server-side scripting in general, and ASP in particular, while at the same time providing more advanced examples for experienced developers who want to discover what ASP can do for them.

For each sample script, you will be provided a menu bar with which you can:

- Read the overview to find out what the sample demonstrates, how it works, and what to look for.
- View the source. The sample scripts, provided in both VBScript and JScript, are well documented and carefully organized.
- Run the VBScript version of the sample.

Sample scripts provided in this documentation are divided into several categories:

- Simple Scripts: Learn the basics of script syntax, flow control, functions, and procedures.
- Building ASP Applications: Study samples that demonstrate the structure and function of a Web-based application.
- Web Interactivity using ASP: Discover how to make your application more useful and versatile by incorporating cookies, client-side scripting, and other techniques.
- Using Installable Components: Learn how to leverage the functionality provided by the Active Server Pages components that are installed with IIS.
- Database Connectivity: Explore examples that illustrate the power of the bundled database access component, ActiveX® Data Objects (ADO).
- ASP Transaction Services: Study samples that demonstrate the alliance between Component Services and ASP scripts.

Although the samples in this section are provided as an educational resource, this is not a tutorial on ASP scripting or application creation. For more information, see Active Server Pages and Developing Web Applications.

© 1997-2001 Microsoft Corporation. All rights reserved.