Friday 4 May 2018

What is Request object in

What is Request object:

For every web page web server create an object of HttpRequest and object of HttpRequestclass this object is known as request object.
In the request object we can store information when a page calls to another page it can sends data to that page like this.
When above code will be executed a request for the page default2.aspx
Will be generated by the client. Along with request data of the textbox1
Will also be send and web server will store that data in the request object
By creating a field named “name”.
Multiple values can be store in the request object
Stirng str=request.QueryString[“name”];

No comments:

Post a Comment

Popular Posts