TABLE OF CONTENTS 1. Introduction to ASP Technology 2. ASP Objects 2.1 The Request Object 2.2 The Response Object 2.3 The Server Object 2.4 The ASPError Object 2.5 The Application Object 2.6 The Session Object 3. The Scripting Object Model (SOM) and SOM objects 4. Database Access in ASP 4.1 ActiveX Data Object (ADO) 4.2 The ADO Object Model 4.3 Accessing a Database from an ASP Page 4.4 To Create an ODBC Database Connection 4.5 To Create an ODBC Connection to MS Access Database 4.6 To create a DSN-less Database Connection
_______________________________________________________________________
ACTIVE SERVER PAGES (ASP)
1. Introduction to ASP Technology
Active Server Pages (ASP) is Microsoft's server-side script engine for dynamically-generated web pages. ASP is a technology for interacting with the user by intercepting incoming requests and processing outgoing responses. It is not a programming language. It is more like the glue that holds together scripting objects, components and interactions with the Web Server. ASP helps us to make
dynamic applications by using the highly integrated nature of ASP and HTML, JavaScript/VBScript and databases. ASP was initially marketed as an add-on to Internet Information Services (IIS) via the Windows NT 4.0 Option Pack, but has been included as a free component of Windows Server since the initial release of Windows 2000 Server. Web pages with the ".asp" or ".aspx" extensions use ASP. ASP has gone through three major releases:
• • •
ASP version 1.0 (distributed with IIS 3.0) in December 1996 ASP version 2.0 (distributed with IIS 4.0) in September 1997 ASP version 3.0 (distributed with IIS 5.0) in November 2000
ASP 3.0 is currently