After Response.Redirect("~/somedir/somepage.aspx") What are the events which are fired at page level,session level and application level?
As far as I know there is one event Application_EndRequest which is fired at the end and this event's handler one can provide.
I want to achieve is that if application have numerous response.redirects through out the application I want to have a single event handler where I can keep list of all the response.redirects happened in a given session.
In Application_EndRequest Session object is Nothing so if try to save it in Session it will not work.
I feel there will be a event in the pipeline where session is also available and location to be redirected is also available(which one can retrieve by context.headers["location"]).
Kindly advice.