I have a C# ASP.NET web application which starts a thread running some methods in a class called SiteCrawler.cs
.
In HttpContext.Current.Application
I want to save some value when all the threads are finished running. My problem is that the HttpContext.Current
object is null
in the spawned threads because it doesn't exist there.
I have tried to search around every inch of Stackoverflow to find a solution but without any luck....