Return

Table of Contents

 

Chapter 1 Introduction:

 

1.1- Static & Dynamic web sites.

1.2- When to Build Dynamic Sites.

1.3- How to Build Dynamic Sites.

1.4- Active Server Pages.

1.5- How ASP Works.

1.6- Why is ASP called so?

1.7- Browser Independence.

1.8- ASP Features.

 

Chapter 2  Writing ASP Scripts:

 

2.1- What is an .Asp File?

2.2- What is a Script?

2.3- ASP Syntax.

2.3.1- Delimiters.

2.3.2- Single Expressions.

2.3.3- Statements.

2.3.4- Including HTML in a Statement.

2.3.5- Script Tags.

2.3.6- Variable and Object Scope.

2.3.7- Including Other Files.

2.3.8- Using the Virtual Keyword.

2.3.9- Using the File Keyword.

2.3.10- Including Files: Tips and Cautions.

2.3.11- Using a Server Script to Modify a Client Script.

2.4- Using Scripting Languages.

2.4.1- Setting the Primary Scripting Language.

2.4.2- Languages That Support Object.Method Syntax.

2.4.3- Languages That Do Not Support Object.Method Syntax.

2.4.4- Using VBScript and JScript.

2.4.5- Including Comments.

2.5- Writing Procedures with Multiple Languages.

2.5.1- Creating Procedures.

2.5.2- Calling Procedures.

2.6- Creating Functions and Calling them.

 

 

Chapter 3 Active Server Pages Intrinsic Objects:

 

3.1- The Built-in Objects.

3.2- Object Syntax.

3.3- Using Methods.

3.4- Using Properties.

3.5- The Response object.

3.6- The Request object.

3.7- The Server object.

3.8- The Session object.

3.9- The Application object.

 

Chapter 4  Response Object:

 

4.1- Properties.

4.1.1- ContentType.

4.1.2-Buffer.

4.1.3-Expires.

4.1.4-ExpiresAbsolute.

4.1.5-Status.

4.2- Methods.

4.2.1-Write.

4.2.2- Redirect.

4.2.3- AddHeader.

4.2.4-AppendToLog.

4.2.5-BinaryWrite.

4.2.6- Clear.

4.2.7- End.

4.2.8- Flush.

4.3- Collections.

 

Chapter 5 The Request Object:

 

5.1- QueryString.

5.2- Forms.

5.3- Cookies.

5. 4-ServerVariables.

5. 5- ClientCertificates.

 

Chapter 6  The Server Object:

         6.1- ScriptTimeout

6.2- CreateObject

6.3- HTMLEncode

6.4- URLEncode

6.5- MapPath

 

Chapter 7  Working with ActiveX Server Components

 

7.1- Creating an Instance of a Component

7.2- Determining Browser Capability

7.3- Displaying Advertisements on a Page

7.4- Retrieving Data from a Database

7.5- Reading from and Writing to Files

7.6- Managing Page Navigation

7.7- Collaboration Data Objects for NTS Component

 

Chapter 8  Database Access Component

 

8.1. ODBC, OLEDB and ADO

8.2. Active Data Objects( ADO )

8.3. Database Open

8.4. Accessing Data Using ADO

8.5. Flattening the Object Model

8.6. Updating Data

          8.6.1 Adding records to a Recordset

          8.6.2 Updating a Record in a Recordset

8.6.3 Deleting a Record from a Recordset

8.7 Error Trapping Database Code

8.8. Examples

8.8.1. The .maxrecords property

8.8.2. Paged Table Displays

 
Chapter 9 Cookies

 

9.1- Using the Cookies Collection with the Response Object

9.2- Using the Cookies Collection with the Request Object

9.3- Some Examples Using Cookies

9.3.1- Cookies Storing

9.3.2- Cookies Displaying

9.3.3- Cookies Deleting

9.3.4- Cookies Simplified –Storing, Displaying & Deleting

 

Chapter 10 Session Object

 

10.1- Properties

10.1.1- SessionID

10.1.2.Timeout

10.2. Methods

10.2.1. Abandon

10.3. Storing Values in Session Object

10.4. Events

10.4.1. Session_OnStart

10.4.2. Session_OnEnd

 

Chapter 11 Application Object

 

11.1. Methods

11.1.1. Lock

11.1.2. Unlock

11.2. Events

11.2.1. Application_OnStart

11.2.2. Application_OnEnd

11.3. Storing Values in Application Object

 

Chapter 12 Developing ASP-Based Applications

 

12.1. Using the Session and Application Objects

12.2. Application values vs. Sessions values

12.3. Using the Global.asa File

12.3.1. Application-Start and Session-Start Events

12.3.2. Application-End and Session-End Events

12.3.3. Ending a Session

12.3.4. Ending an Application

12.4. Managing Sessions

12.5. SessionID and Cookies

12.6. Storing Variables in the Session Object

12.6.1. Remembering User Preferences

12.7. Managing Applications

12.7.1. Posting Messages to Application Users

12.8. Setting Component Scope

12.8.1. Using the Server.CreateObject Method

12.8.2. Performance Issues

 

Chapter 13  Writing your own Active-X Components

 

13.1. Server-Side Components

13.2. System and Software Requirements

13.3. Setting up Visual Basic

13.4. Name the Project and the Class

13.5. How the Project and the Class Names are Used

13.6. Utilizing the ScriptingContext

13.7. Using ASP Objects

13.8. The SayHello Method

13.9. Making a DLL Component After Using It in an ASP File

13.10. Writing an ASP File For Our Component

13.11. Registering Components on Other Systems

13.12. Applications for Components

13.13. Expanding The SayHello Method

13.14.  A Note on ASP Session Variables

13.15. The Expanded SayHello Code

13.16. Further Possibilities with Components

 

Chapter 14 Securing Your ASP Application

 

14.1- Setting Virtual Directory Permissions

14.2- Setting Windows NT Access Permissions

14.3- Using Client Certificates

14.3.1- To configure your server to request a certificate:

14.3.2- ClientCertificate collection

14.4- Keeping Scripts Hidden

 

Chapter 15 Debugging Active Server Pages Scripts

 

15. 1-Error Handling with VBScript

15.1.1. The On Error Resume Next Statement

15.1.2. The For...Each Statement

15.1.3.- Debugging Forms

 

Return