Response Object

You can use the Response object to send output to the client.

Syntax

Response.collection|property|method

 

Collections
Cookies Specifies cookie values. Using this collection, you can set cookie values.

Properties
Buffer Indicates whether page output is buffered.
CacheControl Sets a header to tell proxy servers or other cache mechanisms whether they can cache the output generated by ASP.
Charset Appends the name of the character set to the content-type header. The character set tells the browser how to display characters.
CodePage Sets the Codepage for data in the intrinsic objects for one response. The codepage tells the server how to encode characters for different languages.
ContentType Specifies the HTTP content type for the response.
Expires Specifies the length of time before a page cached on a browser expires.
ExpiresAbsolute Specifies the date and time on which a page cached on a browser expires.
IsClientConnected Indicates whether the client has disconnected from the server.
LCID Sets the LCID for data for one response. The LCID refers to how dates, times, and currency are formatted for a specific geographical locale.
Pics Set the value for the pics-label response header, to indicate the PICS content rating.
Status The value of the status line returned by the server.

Methods
AddHeader Sets the HTML header name to value.
AppendToLog Adds a string to the end of the Web server log entry for this request.
BinaryWrite Writes the given information to the current HTTP output without any character-set conversion.
Clear Erases any buffered HTML output.
End Stops processing the .asp file and returns the current result.
Flush Sends buffered output immediately.
Redirect Sends a redirect message to the browser, causing it to attempt to connect to a different URL.
Write Writes a variable or text to the current HTTP output as a string.

See Also

Request Object


© 1997-2001 Microsoft Corporation. All rights reserved.