No Images Added Yet
Create a Custom ASP Error Page
Learn to create a centralized error page to display custom errors.
Report this Listing
In this tutorial, you will learn how to assign custom errors to common problems that you may experience with your web site and create a centralized error page to display custom errors.
13th February 2000
11th February 2009
You May Also Like
Video Theme: Setup a website like YouTube today (New 2022) - Download Now!Sponsored
Inout Homestay - Vacation & Space Rental Portal ScriptSponsored
Inout WebCrawler PlusSponsored
Please rate the listing and tell the world know what do you think about the listing.
The code is neat, but......
Reviewed byAnonymousonThu, 10th January 2002
The code to handle customer errors is neat, but it will solve only one problem. The reason being the respose.redirect must be presented before the HTML is sent to the browser. But in the actual scenario, the error may occur at any point in a page. In this case, it will not get redirected at all. Another thing is, there is no way we can specify the standard error page so that whenever an error occurs at any point in a page, the ASP engine will simply redirect to it. The only way to solve this is to issue a response.Buffer = true at the top of every page and then whenever an occurs, one can trap it and redirect it to a standard error page by issuing response.redirect followed by response.flush. This will redirect at any point in a page.
Displaying 1-1 out of 1 reviewsView All Reviews