I have some (potentially) long-running ajax calls that I would like to abort if the user navigates to another page. The following jQuery code calls abort on all pending XMLH
For ASP.NET MVC you can decorate the controller with the following [SessionState(System.Web.SessionState.SessionStateBehavior.ReadOnly)].
[SessionState(System.Web.SessionState.SessionStateBehavior.ReadOnly)]
More information can be found here ... http://johnculviner.com/asp-net-concurrent-ajax-requests-and-session-state-blocking/