Session Level Exception

I have a page. I need to catch an exception that is being thrown due to a timeout.

Is there any message about System.Applicationexception

+1


source to share


1 answer


You can use Application_Error event in Global.asax.cs:

    protected void Application_Error(object sender, EventArgs e)
    {
                var exception = Server.GetLastError();
                LogException(exception);
    }

      



And after catching this exception or even posting it :)

+2


source







All Articles