jQuery Ajax calls to web service seem to be synchronous

后端 未结 1 368
轻奢々
轻奢々 2020-11-27 23:45

I have two ajax calls to a web service from jquery.

The first call (GetMessages) starts an interval in javascript (setInterval) and return

相关标签:
1条回答
  • 2020-11-28 00:33

    This is because you have enable the Session and the Session lock all the calls until they return.

    You can read also this question: Replacing ASP.Net's session entirely

    also read: https://stackoverflow.com/a/3660837/159270

    0 讨论(0)
提交回复
热议问题