【发布时间】:2010-11-08 15:21:19
【问题描述】:
简单的问题: 我需要增加 ashx 的超时时间。
【问题讨论】:
简单的问题: 我需要增加 ashx 的超时时间。
【问题讨论】:
你可以增加服务器超时时间:
public void ProcessRequest(HttpContext context)
{
context.Server.ScriptTimeout = 3600;
context.Response.ContentType = "text/plain";
context.Response.Write("Hello World");
}
【讨论】: