• Release Notes
  • Tutorial
    • Module 1: Creating ASP Pages
      • Lesson 1: Creating a Simple ASP Page
        • Create and Save a Page
      • Lesson 2: Creating an HTML Form
        • Create the ASP Response Page
    • Module 2: Using ActiveX Server Components
      • Lesson 1: Using the Ad Rotator Component
        • Create the Ad File
        • Create the Script
        • On Your Own
      • Lesson 2: Using the Browser Capabilities Component
        • Create the Script
      • Lesson 3: Using the Database Access Component
        • Identify the Database
        • Create the Component Instance
        • Display the Returned Result Set
        • On Your Own
    • Module 3: Writing Your Own ActiveX Server Components
      • Lesson 1: Creating the Finance Component
        • Start Visual Basic
        • Learn More About Visual Basic Finance Functions
        • Name the Project
        • Remove the Default Form
        • Add the Finance Class to the Project
        • Add the CalcFV Function to the Finance Class
        • Add the Component's Entry Point
        • Save the Finance Project
        • Make the Component an In-Process Component
        • Register the Finance Server Component
      • Lesson 2: Calling the Finance Component from a Script
        • The HTML Form
        • The Script
        • Using Your Browser to Run the Test
  • Scripting Guide
    • What is Active Server Pages?
      • The Active Server Pages Model
    • A Brief History of Hypertext
      • Linked Static Content
      • Dynamic HTML
      • Active Server Pages
    • Writing ASP Scripts
      • What is an .Asp File?
      • What is a Script?
      • ASP Syntax
        • Delimiters
        • Single Expressions
      • Statements
        • Including HTML in a Statement
      • Script Tags
      • Including Other Files
        • Using the Virtual Keyword
        • Using the file keyword
        • Including Files: Tips and Cautions
      • Using a Server Script to Modify a Client Script
    • Using Scripting Languages
      • Setting the Primary Scripting Language
        • Languages That Support Object.Method Syntax
        • Languages That Do Not Support Object.Method Syntax
      • Writing Procedures with Multiple Languages
        • Creating Procedures
        • Calling Procedures
      • Using VBScript and JScript
        • Including Comments
    • Working with Built-In Objects
      • Object Syntax
        • Using Methods
        • Using Properties
    • 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 File
        • Using the Cookies Collection With the Request Object
    • Sending Information to a User
      • Sending Text to a User
      • Redirecting a User to Another URL
      • Setting the HTTP Content Type
      • Using the Cookies Collection with the Response Object
      • Buffering Response
    • Working with ActiveX Server Components
      • Creating an Instance of a Component
      • Retrieving Data from a Database
      • Displaying Advertisements on a Page
      • Determining Browser Capability
      • Reading from and Writing to Files
      • Managing Page Navigation
    • Developing ASP-Based Applications
      • Using the Session and Application Objects
        • Using the Global.asa File
        • Application-Start and Session-Start Events
        • Application-End and Session-End Events
        • Managing Sessions
        • Managing Applications
      • Setting Component Scope
        • Using the Tag
        • Using the Server.CreateObject Method
        • Performance Issues
        • Configuring Registry Entries
          • Active Server Pages Registry Entries
        • Debugging Active Server Pages Scripts
          • Error Handling with VBScript
              • The On Error Resume Next Statement
              • The For...Each Statement
              • Error Handling with JScript
              • Debugging Forms
        • Securing Your ASP Application
          • Setting Virtual Directory Permissions
          • Setting Windows NT Access Permissions
          • Using Client Certificates
          • Keeping Scripts Hidden
        • Object Reference
          • Application Object
            • Application Methods
              • Lock
              • Unlock
          • Request Object
            • Request Collections
              • ClientCertificate
              • Cookies
              • Form
              • QueryString
              • ServerVariables
          • Response Object
            • Response Collections
              • Cookies
            • Response Properties
              • Buffer
              • ContentType
              • Expires
              • ExpiresAbsolute
              • Status
            • Response Methods
              • AddHeader
              • AppendToLog
              • BinaryWrite
              • Clear
              • End
              • Flush
              • Redirect
              • Write
          • Server Object
            • Server Properties
              • ScriptTimeout
            • Server Methods
              • CreateObject
              • HTMLEncode
              • MapPath
              • URLEncode
          • Session Object
            • Session Properties
              • SessionID
              • Timeout
            • Session Methods
              • Abandon
        • Global Reference
          • Application Events
            • Application_OnStart
            • Application_OnEnd
          • Session Events
            • Session_OnStart
            • Session_OnEnd
          • Declarations
          • Component Reference
            • Ad Rotator Component
              • Rotator Schedule File
              • Redirection File
              • Ad Rotator Properties
                • Border
                • Clickable
                • TargetFrame
              • Ad Rotator Methods
                • GetAdvertisement
            • Browser Capabilities Component
              • Browscap.ini File
            • Database Access Component
              • Connection Pooling
            • Content Linking Component
              • Content Linking List File
              • Content Linking Methods
                • GetListCount
                • GetListIndex
                • GetNextDescription
                • GetNextURL
                • GetNthDescription
                • GetNthURL
                • GetPreviousDescription
                • GetPreviousURL
            • File Access Component
          • Programmer's Reference
            • Creating Components for ASP
              • Page-level Event Methods
                • OnStartPage
                • OnEndPage
              • Built-in Object Interfaces for C++
                • IScriptingContext
                  • IScriptingContext::get_Application
                  • IScriptingContext::get_Request
                  • IScriptingContext::get_Response
                  • IScriptingContext::get_Server
                  • IScriptingContext::get_Session
                • IApplicationObject
                  • IApplicationObject::get_Value
                  • IApplicationObject::Lock
                  • IApplicationObject::putref_Value
                  • IApplicationObject::put_Value
                  • IApplicationObject::UnLock
                • IRequest
                  • IRequest::get_ClientCertificate
                  • IRequest::get_Cookies
                  • IRequest::get_Form
                  • IRequest::get_Item
                  • IRequest::get_QueryString
                  • IRequest::get_ServerVariables
                • IResponse
                  • IResponse::AddHeader
                  • IResponse::AppendToLog
                  • IResponse::BinaryWrite
                  • IResponse::Clear
                  • IResponse::End
                  • IResponse::Flush
                  • IResponse::get_Buffer
                  • IResponse::get_ContentType
                  • IResponse::get_Cookies
                  • IResponse::get_Expires
                  • IResponse::get_ExpiresAbsolute
                  • IResponse::get_Status
                  • IResponse::put_Buffer
                  • IResponse::put_ContentType
                  • IResponse::put_Expires
                  • IResponse::put_ExpiresAbsolute
                  • IResponse::put_Status
                  • IResponse::Redirect
                  • IResponse::Write
                • IServer
                  • IServer::CreateObject
                  • IServer::get_ScriptTimeout
                  • IServer::HTMLEncode
                  • IServer::MapPath
                  • IServer::put_ScriptTimeout
                  • IServer::URLEncode
                • ISessionObject
                  • ISessionObject::Abandon
                  • ISessionObject::get_SessionID
                  • ISessionObject::get_Timeout
                  • ISessionObject::get_Value
                  • ISessionObject::put_Timeout
                  • ISessionObject::putref_Value
                  • ISessionObject::put_Value
                • IReadCookie
                  • IReadCookie::get_HasKeys
                  • IReadCookie::get_Item
                  • IReadCookie::get__NewEnum
                • IRequestDictionary
                  • IRequestDictionary::get_Item
                  • IRequestDictionary::get__NewEnum
                • IStringList
                  • IStringList::get_Count
                  • IStringList::get_Item
                  • IStringList::get__NewEnum
                • IWriteCookie
                  • IWriteCookie::get__NewEnum
                  • IWriteCookie::get_HasKeys
                  • IWriteCookie::put_Domain
                  • IWriteCookie::put_Expires
                  • IWriteCookie::put_Item
                  • IWriteCookie::put_Path
                  • IWriteCookie::put_Secure
              • Built-in Object Interfaces for Java
                • Class ScriptingContext
                • Class Application
                • Class Request
                • Class Response
                • Class Server
                • Class Session
                • IScriptingContext Interface
                • IApplicationObject Interface
                • IRequest Interface
                • IResponse Interface
                • IServer Interface
                • ISessionObject Interface
                • IReadCookie Interface
                • IRequestDictionary Interface
                • IStringList Interface
                • IWriteCookie Interface
              • Built-in Object Interfaces for Visual Basic
                • ScriptingContext
                • Application
                • Request
                • Response
                • Server
                • Session
              • Code Examples for C++
                • Writing Text to an HTML Page
                • Retrieving a Variable from a Built-in Object
                • Retrieving an Item from a Collection
              • Code Examples for Java
                • Writing Text to an HTML Page
                • Retrieving a Variable from a Built-in Object
                • Retrieving an Item from a Collection
              • Code Examples for Visual Basic
                • Writing Text to an HTML Page
                • Retrieving a Variable from a Built-in Object
                • Retrieving an Item from a Collection
              • Threading Models
                • Single-Threaded
                • Apartment-Threaded
                • Free-Threaded
                • Objects Marked as Both
              • Packaging Models
              • Type Information
              • Security
            • Additional Resources