Access HttpContext.Current from different threads

前端 未结 5 2077
轻奢々
轻奢々 2020-11-27 02:23

I have a C# ASP.NET application which starts about 25 different threads running some methods in a class called SiteCrawler.cs.

In HttpContext.Current.Session<

5条回答
  •  旧时难觅i
    2020-11-27 03:08

    You can save it to the database and then, you can let the user's browser to keep refreshing or using ajax or using the new signalr to check if the result is already written in db. hope it helps.

提交回复
热议问题