This method always adds a new HTTP header to the response and does not overwrite an existing one. Write Writes a specified string to the current HTTP output. Inserts this information into the HTTP entity body. BinaryWrite Writes the specified information to the current HTTP output without any character conversion. This method is useful for writing nonstring information such as binary data required by a custom application.
Cookies Sets the value and scope of one or more cookies.
If the specified cookie does not exist, it is created. The Response object supports several additional methods and properties not specifically related to header management which we will cover in a later installment. Writing Information To The Output Stream Using everything we've talked about to date, you can see how a reasonably sophisticated application can be developed. Upon submission of that data to an ASP script residing on the server, we could use various aspects of the Request Object to extract field data from the request message and perform logical operations using either VBScript, JScript or another scripting language implementation to decide how we will respond. Given the above example, one potential application could involve soliciting a string containing a SQL statement from the client, making the request of the database and then writing some tabular results to the browser using the Write method of the Response object.