The Response object is what contains the HTML data stream that is returned to the browser.

Since the HTML page is dynamic, the page needs to be created every time it is requested.  The actual HMTL is created and stored in the Response object before being sent to the browser.

Think of the process, crudely, as taking out the trash.  The ultimate destination is the dump, but you donít take every piece there one at a time and you donít have the same trash sitting around to be taken over and over again.  You place your trash in a bag.  When itís full, you take it outside.  From there, itís picked up by the truck and taken to the dump.  You are the server filling the bag.  The bag is the HMTL page, each one unique.  The dump is the browser. 

For this course, we will only deal with the Response object for one reason:  debugging the code.  You cannot set breakpoints in ASP as you can in Visual Basic.  The page will either load or not, and there is only one way to check values:  print them to the HTML document.

This can be done in one of two ways:

Use in-line code as described above.  This works only when embedding values directly into HTML, not inside of a code block.
Use the Write method of the Response object:
Response.Write "strMessage = " & strMessage & "
" [
] Add the line above to your "HelloWorld.asp" page, somewhere inside the code block, and reload the page in your browser. Above the original "Hello, World!" and in smaller print should be "strMessage=Hello, World!" The "
" in the code line simply sends the HTML break so that the two "Hello, World!" messages are on separate lines.