Hi,
I have an ASP.NET page that generates an Exception...
The Exception is not caught in the executing method...so it propagates
to..the Page_Error event handling method..
In that method the Exception is handled by the client exception
policy...basically it logs the information coming from the business layer...
We then create a custom message object that contains user/context specific
information and adds that to the Session object..
Since I don´t call Server.ClearError() the Exception propagates
further...and is handled by the applications Error page...
In the Error page I would like to retrive the custom error object from the
Session but the object is not there...
Only if I make a specific Response.Redirect() can I retrive the
session...i.e. not using ASP.NETs error handling/propagating.
Why am I losing this information? What is going on inside ASP.NET with the
session during error handling?
Regards
/Oscar