Increasing the timeout for .ashx
Simple question: I nee开发者_Go百科d to increase the timeout for an ashx.
You could just increae the server timeout:
public void ProcessRequest(HttpContext context)
    {
        context.Server.ScriptTimeout = 3600;
        context.Response.ContentType = "text/plain";
        context.Response.Write("Hello World");
    }
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论