| Fundamentals |
| |
Overview and benefits
Requirements for running ASP
Internet Information Services
Personal Web Server
What are active server pages
Server-side vs. client-side scripts
Client-server processing
VBScript vs. JScript |
|
| ASP in action |
| |
The structure of ASP
The ASP interpreter
ASP built-in objects
Specifying a scripting language
Document-level declarations
Function-level declarations |
|
| VBScript essentials |
| |
VBScript and
Visual Basic
Declaring and using variables
Adding comments to your code
Using If statements
Using the Select Case statement
Arithmetic operators Logical operators
String handling operators
Do While loops
While Wend loops
For Each loops
Using built-in functions |
|
| |
Defining sub procedures
Handling arguments
Defining functions
Returning a value
Using arrays
Manipulating array elements |
|
| Request and Response |
| |
Mixing
ASP and HTML
Writing to the browser window
Environmental variables
Checking the user's browser
Checking the referring page
Getting information via forms
Get and Post methods
Using hidden fields
Processing data from a form |
|
| Database access |
| |
Data source
names (DSNs)
The Connection object
The Recordset object
The Fields collection
Connecting to a database
DSN-less connection
Retrieving a recordset
Paging through recordsets
SQL Select... From...Where
Order By
Insert, Update and Delete
Using INNER JOIN |
|
| Application and
session |
| |
Application
and session objects
The global.asa file
Application and session events
Lock and Unlock
Using session variables |
|
| Scripting objects |
| |
The
FileSystem object
Working with files and folders
Working with drives
The TextStream object
Reading to a text file
Writing to a text file
The Dictionary object
Dictionary methods and properties |
|
| Debugging and
error handling |
| |
Debugging techniques
Response.Write
Commenting out code
Microsoft Script Debugger
Working with breakpoints
The Error object
Types of error
Error object properties
Using On Error Resume Next
Custom error messages
Custom error pages |
|