Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You can use the Response object to send output to the client.
The Response object defines the following methods.
Method |
Description |
---|---|
Sets the HTML header name to value. |
|
Adds a string to the end of the Web server log entry for this request. |
|
Writes the given information to the current HTTP output without any character-set conversion. |
|
Erases any buffered HTML output. |
|
Stops processing the .asp file and returns the current result. |
|
Sends buffered output immediately. |
|
Sends a redirect message to the browser, causing it to attempt to connect to a different URL. |
|
Writes a variable or text to the current HTTP output as a string. |
The Response object defines the following properties.
Property |
Description |
---|---|
Indicates whether page output is buffered. |
|
Sets a header to notify proxy servers or other cache mechanisms whether they can cache the output generated by ASP. |
|
Appends the name of the character set to the content-type header. The character set specifies for the browser how to display characters. |
|
Sets the code page for data in the intrinsic objects for one response. The code page specifies for the server how to encode characters for different languages. |
|
Specifies the HTTP content type for the response. |
|
Specifies cookie values. Using this collection, you can set cookie values. |
|
Specifies the length of time before a page cached on a browser expires. |
|
Specifies the date and time on which a page cached on a browser expires. |
|
Indicates whether the client has reset the connection to the server. |
|
Sets the LCID for data for one response. The LCID refers to how dates, times, and currency are formatted for a specific geographical locale. |
|
Set the value for the pics-label response header to indicate the PICS content rating. |
|
The value of the status line returned by the server. |
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS
Please sign in to use this experience.
Sign in