Response Object

The Response object is used to send output to the client. This output may be either text or binary. You may for example output HTML code, JPEG files, or any other binary file.

Properties

Property Description

Buffer Property

Indicates whether buffering is on or off.

CacheControl Property

Indicates whether or not the proxy server will cache the output generated by the Web Component Server.

ContentType Property

Indicates what type of content is being output to the page.

Cookies Property

Sets a cookies name, path, value and expiry date.

Expires Property

This property specifies the length of time, in minutes, for which the user's browser will cache the page.

ExpiresAbsolute Property

This property specifies the exact date and time at which a page, cached on the user's browser, will expire.

Status Property

A string containing the status line returned by the server. These values are defined in the HTTP specification.

Methods

Method Explanation

AddHeader Method

This method adds an HTML header with a specific value.

BinaryWrite Method

Outputs binary data to the client.

Clear Method

This method erases any buffered output written using the Response.Write method.

End Method

Instructs the server to stop processing and return any buffered output.

Flush Method

The Flush method sends any buffered output immediately.

Redirect Method

Instructs the browser to load a particular page.

Write Method

Writes text output to the HTML page.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com