I am confused whether to use
Server.GetLastError
or
HttpContext.Current.Server.GetLastError
in the event Application_Error.
Application_Error
Can someone please help me sort out the differences between the two?
Thank,
Aj
Server.GetLastError HttpApplication. . ASP.NET Server HttpContext (, HttpApplication Page). HttpApplication, , HttpContext, Server. Page UserControl , HttpContext , .
Server
HttpApplication
Page
UserControl