Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
308
The Server.GetLastError Method
Introduction
The Server.GetLastError method can be used to retrieve the
last error, which occurred on the page. The GetLastError function can be only
called within a 500-error handler page not from any asp page. The best is to
create a custom 500-handler page, which includes the required properties.
Please see the ASPError object for more information.
Example of a custom error page
(server_object_execute_getlasterror_Custom500_example.asp)