I want to stop the actions that are called by the jQuery.ajax
method on the server side.
I can stop the Ajax request using $.ajax.abort()
method on the client side but not on the server side.
Updated:
I used async action instead of sync action, but I didn't get what I want! As you know server can't process more than one request at the same time that's causes each request have to wait till the previous one is finished even if previous request is canceled by $.Ajax.Abort() method. I know if I use [SessionState(System.Web.SessionState.SessionStateBehavior.ReadOnly)] attribute it almost what I want but it doesn’t satisfy me.
Above all I want to abort processing method on server side by user. That's it :)