Stithaprajyna

I use this blog to jot down what ever comes into my mind or get to see anything I feel is important.

Thursday, March 23, 2006

HttpContext

Classes that inherit the IHttpModule and IHttpHandler interfaces are provided a reference to an HttpContext object for the current HTTP request. The object provides access to the intrinsic Request, Response, and Server properties for the request.So it is easy to access the Current context objects from any component involved in the chain.

So in the business component which is invoked from Web services we can write

HttpContext Mycontext=HttpContext.Current

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home