PSDocumentClass

Represents the current document in a Web application.

NoteUnique object A unique instance of the class called psDocument is created for you automatically when you deploy your application. Therefore, you do not need to instantiate PSDocumentClass. In your scripts, you will always refer to psDocument.

Methods

PSConnectionClass method

Description

File

Returns the file name for the document.

GetEnv

Retrieves the value of a server environment variable.

GetParam

Retrieves a parameter passed to the current page.

Path

Returns the path portion of the URL for the document.

Redirect

Redirects the current request to another URL.

Site

Returns the domain name for the document.

Write

Writes an output string to the document.

WriteLn

Writes an output string to the document that ends with a line break. The line break affects the HTML source, not the final HTML output.