Response Object in ASP

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.

Related Tutorial
Request Object
Server Object

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

Response.redirect

Redirecting visitors by using response.Redirect

Buffer in ASP

How to turn ON or OFF the buffer, how it sends data to client browser

Be the first to post comment on this article :

plus2net.com




Post your comments , suggestion , error , requirements etc here .




We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2024 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer