Monday, August 15, 2011

Describe about HttpContext Class?

  • The HttpContext class encapsulates HTTP. specific information about an HTTP request.
  • This includes response/request headers, server variables, session variables, user information, and so on. Of particular interest is a property called Current, which returns an interface of the HttpContext class that represents the current HTTP request.
  • Another important property in the HttpContext class is User, which contains security information about the user who made the web request. The User property returns a type the implements the IPrincipal interface.

No comments:

Post a Comment