Browser waits for ajax call to complete even after abort has been called (jQuery)

后端 未结 7 1610
野趣味
野趣味 2020-12-01 05:27

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

7条回答
  •  广开言路
    2020-12-01 06:01

    Reference to the accepted answer:

    http://improve.dk/optimizing-performance-programmatically-setting-readonlysessionstate/

    About IRequiresSessionState

    What this means is that, for a given session, only one request can execute concurrently. Any other requests, from that same session, will block, waiting for the session to be released

提交回复
热议问题