Click or drag to resize

Response Methods

The Response type exposes the following members.

Methods
  NameDescription
Public methodAddHeader
Adds an HTTP header to the current response. This method is provided for compatibility with earlier versions of ASP.
Public methodBinaryWrite
Writes a string of binary characters to the output stream
Public methodClear
Clears all headers and content output from the current response
Public methodClearHeaders
Clears all headers from the current response
Public methodEnd
Sends all currently buffered output to the client, stops execution of the requested process, and raises the EndRequest event
Public methodFlush
Sends all currently buffered output to the client
Public methodIsValid
Returns a value indicating if the Underlying Context and Response is available and valid
Public methodRedirect(String)
Redirects a request to the specified URL
Public methodRedirect(String, Boolean)
Redirects a request to the specified URL and specifies whether execution of the current request should terminate
Public methodSetCookie
Updates an existing cookie in the cookie collection
Public methodWrite(Char)
Writes a character to an Response output stream
Public methodWrite(Object)
Writes the specified object to the response stream
Public methodWrite(String)
Writes the specified string to the response output string
Public methodWrite(Char, Int32, Int32)
Writes the specified array of characters to the response output stream
Top
See Also