Building ASP Pages
ASP provides a powerful and extensible framework for creating server-side scripts
with any COM compliant scripting or programming language. This section is intended
to teach the fundamentals of using a scripting language to create an .asp file.
You will learn how to accomplish a wide range of basic programming tasks, from
creating a loop to manipulating a database and managing sessions.
Creating an ASP Page : Describes an ASP file and explains how to add script commands to a page.
Working with Scripting Languages : Explains how to set the primary language and how to use VBScript and JScript in server scripts.
Using Variables and Constants : Provides an introduction to using variables in ASP scripts and explains how to access constant definitions.
Interacting with Client-Side Scripts : Shows how to write server-side scripts that create and interact with client-side scripts.
Writing Procedures : Describes how to define procedures (functions and subroutines) and call them from server-side scripts.
Working with Collections : Describes how to access items in a built-in object's collections, including access by iterating through a collection.
Processing User Input : Explains how to collect and process information gathered from an HTML form.
Using Components and Objects : Explains how to create an instance of an object provided by a COM component, how to use the ASP built-in objects, and how to use the methods and properties of any object.
Setting Object Scope : Demonstrates the scope, or extent, of an object and describes how to create session and application scoped objects.
Sending Content to the Browser : Describes how to control the ways in which pages are sent to a browser.
Including Files : Explains how to use the #include statement to insert the contents of a file into an .asp file.
Managing Sessions : Describes how to preserve information about a user.
Accessing a Data Source : Explains how to use ASP and Microsoft ActiveX Data Objects (ADO) to retrieve information from a database.
Understanding Transactions : Demonstrates how to run a script under a transaction context. Business and credit card applications often need to the ability to run scripts and components within transactions.
©2000 Microsoft Corporation. All rights reserved.
|