Response Methods |
The Response type exposes the following members.
Name | Description | |
---|---|---|
AddHeader |
Adds an HTTP header to the current response. This method is provided for compatibility with earlier versions of ASP.
| |
BinaryWrite |
Writes a string of binary characters to the output stream
| |
Clear |
Clears all headers and content output from the current response
| |
ClearHeaders |
Clears all headers from the current response
| |
End |
Sends all currently buffered output to the client, stops execution of the requested process, and raises the EndRequest event
| |
Flush |
Sends all currently buffered output to the client
| |
IsValid |
Returns a value indicating if the Underlying Context and Response is available and valid
| |
Redirect(String) |
Redirects a request to the specified URL
| |
Redirect(String, Boolean) |
Redirects a request to the specified URL and specifies whether execution of the current request should terminate
| |
SetCookie |
Updates an existing cookie in the cookie collection
| |
Write(Char) |
Writes a character to an Response output stream
| |
Write(Object) |
Writes the specified object to the response stream
| |
Write(String) |
Writes the specified string to the response output string
| |
Write(Char, Int32, Int32) |
Writes the specified array of characters to the response output stream
|