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