Getting the last error in a custom error page






4.33/5 (3 votes)
When you provide a custom error handler page, it is useful to be able to log what caused the problem, so that you can fix it. Server.GetLastError() will not return anything in the page, though...