I read in the 70-515 Book that, By wrapping the HTTP request in a programmable object, ASP.NET provides your code access
to things such as the cookies associated with your site, the query string parameters passed with
the URL, and the path to the requested resource, and allows you to work with other relevant
request-based information.
But how it is possible by wrapping into an object gives you access to cookies etc..
Can any one please explain….
No amount of wrapping code into an object will give you access to things you did not have access to before.
It would be more accurate to say that it gives you convenient access to things by presenting you with a nice simple interface and taking care of the manual work (working directly with more primitive values like HTTP headers) so that you can work at a higher level of abstraction.