Home / ASP.NET Wiki / .NET Framework Essentials / Understanding Request and Response ...

Understanding Request and Response ...

 Rate It (3)

                     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.

Comments

good , if u provide with with example of how asp.net process at server(request and response)

need example

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. abiruban (1)