The Remaining Objects
Two more objects, Request and Response, have methods and variables to represent the request information from the browser and generate the response back to the browser.
- If Firstname is the name of a field on a form from the browser: request.querystring(“Firstname”)
- Obtain information from the request environment variables:request.servervariables(“HTTP_HOST”)
- Use the method response.write to output the html document back to the browser, or just insert expression values into the html document.
- Note that upper and lower case don’t matter, so we could also write Request.QueryString and Response.Write.
The Application object is similar to the Session object, but can share data among pages used by all the client browsers.
The ObjectContext object is only useful when IIS interacts with MTS and you write transactional ASP scripts