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 obj
Check this, the problem is with the redirect call.
Don't redirect after setting a Session variable (or do it right)