Session changes done in application_Error rolled back after redirect
<p>I have an asp.net application and I am trying to handle custom exception using Application_Error. It works nicely but I have new requirement to set the error data in Session object(or any object that can maintain state) and redirect to Error.aspx page. THere I am just removing the error messages after reading them. </p>

<p>So, Whatever I add to session object(or if I change a previously existing value) in Application_error and when I call Redirect. In the error.aspx I don't see any of the value as if Session was in readonly mode in Application_error.</p>

<p>I tried by calling 
    session.IsReadOnly
to see if its read only. But it returns false!!</p>
