What is Server-Side Scripting?
What is Server-Side Scripting?
The Active Server Pages Model
A Brief History of HyperText
A Brief History of Hypertext
Linked Static Content
Dynamic HTML
Active Server Pages
Writing Active Server Pages Scripts
Writing Active Server Pages Scripts
What is an Asp File?
What is a Script?
ASP Syntax
Delimiters
The Equal Sign
Single Expressions
Statements
Including HTML in a Statement
Script Tags
Including Other Files
Using a Server Script to Modify a Client Script
Using Scripting Languages
Using Scripting Languages
Setting the Primary Scripting Language
Languages that support the Object.Method Syntax
Languages that do not support the Object.Method Syntax
Writing Procedures with Multiple Languages
Creating Procedures
Calling Procedures
Using VBScript and JScript
Including Comments
Working with Objects
Working with Objects
Object Syntax Using Methods
Using Properties
Getting Information from a User
Getting Information from a User
Getting Information From HTML Forms
Using the QueryString Collection
Using the Form Collection
Using the ServerVariables Collection
Posting Input to the Originating ASP page
Using the Cookies Collection
Sending Information to the User
Sending Information to the User
Sending Text to the User
Redirecting the User to Another URL
Setting the HTTP Content Type
Buffering Response
Working with Components
Working with Components
Creating a Reference to an ActiveX Server Component
Retrieving Data from a Database
Displaying Advertisements on a Page
Determining Browser Capability
Reading from and Writing to Files
Managing Sequential Page Navigation
Developing ASP-Based Applications
Developing ASP-Based Applications
Using the Session and Application Objects
Using the Global Reference File
Application- and Session-Starting Events
Application- and Session-Ending Events
Managing Sessions
Managing Applications
Creating Session-Scope or Application-Scope Component Instances
Configuring Registry Entries
Configuring Registry Entries
Active Server Pages Registry Entries
Debugging Active Server Page Scripts
Debugging Active Server Page Scripts
Error Handling with VBScript
The On Error Resume Next statement
The For...Each Statement
Error Handling with JScript
Debugging Forms
Setting Security Permissions
Setting Security Permissions
Working with Script Access Security
Securing your Database
SSL3