[This is preliminary documentation and subject to change]

Response Object

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

Syntax

Response.collection|property|method

 

Collections
CookiesSpecifies cookie values. Using this collection, you can set cookie values.

Properties
BufferIndicates whether page output is buffered.
CacheControlSets a header to tell proxy servers or other cache mechanisms whether they can cache the output generated by ASP.
CharsetAppends the name of the character set to the content-type header. The character set tells the browser how to display characters.
CodePageSets the Codepage for data in the intrinsic objects for one response. The codepage tells the server how to encode characters for different languages.
ContentTypeSpecifies the HTTP content type for the response.
ExpiresSpecifies the length of time before a page cached on a browser expires.
ExpiresAbsoluteSpecifies the date and time on which a page cached on a browser expires.
IsClientConnectedIndicates whether the client has disconnected from the server.
LCIDSets the LCID for data for one response. The LCID refers to how dates, times, and currency are formatted for a specific geographical locale.
PICSSet the value for the pics-label response header, to indicate the PICS content rating.
StatusThe value of the status line returned by the server.

Methods
AddHeaderSets the HTML header name to value.
AppendToLogAdds a string to the end of the Web server log entry for this request.
BinaryWriteWrites the given information to the current HTTP output without any character-set conversion.
ClearErases any buffered HTML output.
EndStops processing the .asp file and returns the current result.
FlushSends buffered output immediately.
RedirectSends a redirect message to the browser, causing it to attempt to connect to a different URL.
WriteWrites a variable or text to the current HTTP output as a string.

See Also

Request Object


© 1997-2001 Microsoft Corporation. All rights reserved.