开发者

Classical ASP Scripting Timeout

Is it possible to catch a classical ASP Scripting Timeout and redirect to a proper self defined error page, to avoid that the user sees the ru开发者_开发技巧ntime error page ?


Are you using IIS? You can configure IIS to have a predefined error page.

EDIT

Take a look at this site on configuring your error pages on IIS. You should be able to create an error page that can display a friendly message to the user whenever timeouts occur...I know for the company I work for, we experienced SQL timeouts before recently upgrading our systems.

You can also look at this site for some classic ASP code to get the latest server error.

Hope this helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜