Classic ASP Script Timeout

Can I catch the classic ASP Scripting timeout and redirect to my own page with a self-defined error to avoid the user viewing the runtime page?

+4
source share
1 answer

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

EDIT

Check out this site for customization of error pages in IIS. You should be able to create an error page that can display a friendly message to the user when timeouts occur ... I know that for the company I work for, we experienced SQL timeouts before the recent update of our systems.

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

Hope this helps.

+4
source

Source: https://habr.com/ru/post/1302883/


All Articles