The types of varialbes you can grab is very limited. Like you will lose all of your page and form variables if the page errors out in the middle (I have been looking for a way to get around that but haven't come across anything). (sorry i can only provide u code in VB)
If you turn your trace on, and look at that trace, you can pretty much get anything (I think) except form collection. Just create:
Sub Application_Error(Sender As Object, E As EventArgs)
in your global.asax and within that sub you will create your email like you normally would in any ASP.Net page. In the body you will print out the InnerException and Server type variables.
new to programming but getting ther
Bookmarks