Interactive web pages for your CD Interactive web pages for your CD
Home page
Demo
Examples
Case Studies
Documentation

Built-In Objects

  • Technical details

  • ASP Built-In Objects

    Testing the ASP Built-In Objects :
    Built-In Object Run the test View the code
  • ASPError Object
  • Application Object
  • ObjectContext Object
  • Request Object
  • Response Object
  • Session Object
  • Server Object
  • ASPError Object
    Application Object
    ObjectContext Object
    Request Object
    Response Object
    Session Object
    Server Object
    ASPError Object
    Application Object
    ObjectContext Object
    Request Object
    Response Object
    Session Object
    Server Object

    Points to note
    • Calls to the  Request  Object without specifying a method return the first matching value found after seaching the  Request  collections in the following order
      1. QueryString
      2. Form
      3. Cookies
      4. ClientCertificate (not supported)
      5. ServerVariables
    • The Cookie Domain property is set by Dynamic-CD to the same value as the Realm parameter set by Dynamic-CD-Wizard. This keeps cookies generated by different Dynamic-CDs separate. If you try to set the value of a Cookie Domain, it is ignored.
    • Cookie properties such as Path and Secure are accepted but have no effect.
      See the discussion on cookies.
    • Transaction processing is not currently supported
    • External objects - such as the  FileSystemObject  - should be used with care: you will be accessing and perhaps writing to the user's hard disk. Note also that vanilla Windows 95 does not seem to support the  Scripting.FileSystemObject .
      Check all platforms before assuming that a given object is supported.
    • Dynamic-CD's ASP runs in the environment of your user's computer rather the standard environment of an Internet Server. Read our discussion of environments which we have tested and the current limitations of Dynamic-CD's ASP.

    Methods and Properties of the ASP built-in objects
    The table below shows all of the ASP built-in objects, their properties and methods.
    Any peculiarities of Dynamic-CD's ASP implementation are noted under the method or property name.
     Properties and methods not currently supported  by Dynamic-CD's ASP are  marked in red .
     Additional properties and methods  provided by Dynamic-CD's ASP are  marked in green .

    Application Object
    Collections:
    StaticObjects
    Contents
    Contents Collection Methods:
    Remove
    RemoveAll
    Methods:
    Lock
    Unlock
    Events:
    Application_OnEnd
    Application_OnStart


    ObjectContext Object

    Methods:
    SetAbort
    SetComplete
    Events:
     OnTransactionAbort 
     OnTransactionCommit 


    Request Object

    Collections:
    ClientCertificate
    Cookies
    Form
    QueryString
    ServerVariables
    Properties:
    TotalBytes
    Methods:
    BinaryRead


     ASPError Object 

    Properties:
    ASPCode
    Number
    Source
    Category
    File
    Line
    Column
    Description
    ASPDescription
    Response Object
    Collections:
    Cookies
    Properties:
    Buffer
    CacheControl
    Charset
    ContentType
    Expires
    ExpiresAbsolute
    IsClientConnected
     PICS 
    Status
    Methods:
    AddHeader
    AppendToLog
    BinaryWrite
    Clear
    End
    Flush
    Redirect
     UnlockRedirect 
    Write


    Server Object

    Properties:
    ScriptTimeout
    Methods:
     ClearAllUsers 
     ClearUser 
    CreateObject
     EjectCD 
     EnableUser 
     EncryptFile 
    Execute
     FileExists 
    GetLastError
     GlobFileAccess 
     IsInternetConnected 
    HTMLEncode
     LogFileName 
    MapPath
     RegisterObject 
     StopServer 
    Transfer
    URLEncode


    Session Object

    Collections:
    StaticObjects
    Contents
    Contents Collection Methods:
    Remove
    RemoveAll
    Properties:
    CodePage
    LCID
    SessionID
    Timeout
    Methods:
    Abandon
    Events:
    Session_OnEnd
    Session_OnStart


    © Copyright 2000-2003 PHD Computer Consultants Ltd