What .NET namespace or class includes both Context.Handler and Server.Transfer?
I think one may include both and my hunt on MSDN returned null.
Thank you.
What .NET namespace or class includes both Context.Handler and Server.Transfer?
I think one may include both and my hunt on MSDN returned null.
Thank you.
System.Web.HttpServerUtility.Transfer in System.Web.DLL
Need more info for Context.Handler.
System.Web.
HttpContext.Current.Handler
HttpContext.Current.Request.Server.Transfer
Hmmmm, I talking about them as they are implemented here:
http://blog.benday.com/archive/2008/03/31/23176.aspx
(at least Context.Handler there)
I am still having trouble in VS making that reference.
Hmmmm, I talking about them as they are implemented here:
http://blog.benday.com/archive/2008/03/31/23176.aspx
(at least Context.Handler there)
I am still having trouble in VS making that reference.
Context.Handler is an instance of an HttpContext.
HttpContext exposes the CURRENT instance for the request under the HttpContext.Current property, however the current context can also be passed in HTTPHandlers in the ProcessRequest method:
void ProcessRequest(HttpContext context)