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 ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.