Understanding Request and Response ...
We need a basic knowledge about what is Request & Response objects. The following information may be helpful to all. How beautifully these are handling things occurring in a Page class.
Request and Response are the properties of the Page class. The Request property allows you to access the HTTPRequest object, which contains information,such as path of the request, about the HTTP request for the page. The Response property allows you to access the HTTPResponse object, which in turn allows you to send data to the browser as the result of the request.
In fact, Request and Response properties map directly to HttpRequest and HttpResponse objects respectively. Therefore, you can directly access these objects in ASP.NET pages by using the Request and Response properties.
Querystrings is the method of the HttpRequest object, which returns the parameter that's passed with the page URL. The Write method of the HTTPResponse object is used to display text in a browser. You can use the html formatting elements to format the text.
Revision number 1, Sunday, May 15, 2011 5:39:10 PM by durga89
This is not the most up to date version of this article. The most recent version can be found here.
You must Login to comment.
Fri, Sep 23, 2011 3:26 AM
good , if u provide with with example of how asp.net process at server(request and response)
Wed, Feb 29, 2012 1:09 AM