开发者

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");
    }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜