Elmex
Elmex

Reputation: 3361

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 runtime error page ?

Upvotes: 4

Views: 813

Answers (1)

Aaron
Aaron

Reputation: 7541

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.

Upvotes: 4

Related Questions