Response object is used in ASP to send information ( HTML part ) to the browser. By using response object we can control the flow of information , manage buffer, we can redirect visitor to another page, we can control the browser cache and we can end the script execution. We will discuss most commonly used objects with example.
Response.Write
Printing or displaying information in browser we have to use Response.Write object. We will see how we can format the output to handle double and single quotes etc.
Response.Flush
Sending the data from Buffer to client machine by using response.flush before completing the script execution
Response.Clear
Deleting data from ASP buffer without sending them to client browser by using Response.Clear
Response.End
Stopping script execution by Response.End