开发者

Increasing the timeout for .ashx

开发者 https://www.devze.com 2023-01-24 04:31 出处:网络
Simple question: I nee开发者_Go百科d to increase the timeout for an ashx.You could just increae the server timeout:

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

精彩评论

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