protected void Application_EndRequest(object sender, EventArgs e) { if (Context.Server.GetLastError() != null) return; } }