Asynchronous Controller is blocking requests in ASP.NET MVC through jQuery

后端 未结 2 492
难免孤独
难免孤独 2020-12-01 03:23

I have just started using the AsyncController in my project to take care of some long-running reports. Seemed ideal at the time since I could kick off the report and then pe

2条回答
  •  一生所求
    2020-12-01 03:31

    Acutally the problem lays in this.HttpContext.Session, 'cause it's being locked, if you are writing anything to a session in your AsyncController, you should avoid it and using this.HttpContext.Application - this will solves the problem, I had the same problem, and try us

提交回复
热议问题