The Response object is used to send data to the client browser. The user can use the object to send the server's data to the user-end browser in HTML, which forms a pair of receptions, transmitted data, which is implemented with the request. Foundation. The following describes the properties and methods of it.
1. Buffer attribute This property is used to specify whether the page output is used to use the buffer, the default value is false. When it is True, the result is output to the browser until the entire Active Server Page executes. Such as: <% response.buffer = true%>
2, Expires property This property is used to set the length of time (in points) of the browser cache page, and must be refreshed on the server. By setting: <% response.expires = 0%> By adding this line of code in the ASP file, requesting each request is a refresh page, because Response will expire.
3. Write method This method sends data to the client browser, such as: <% response.write "Hello, World!"%>
4. Redirect method This method allows the browser to reposition to another URL, so that when the customer issues a web request, the client's browser type has been determined, and the customer is relocated to the corresponding page. Such as: