I am doing some asynchronous work on a separate thread using:
ThreadPool.QueueUserWorkItem(...)
and in this separate thread, I need to call HttpContext.Current so that I can access:
HttpContext.Current.Cache
HttpContext.Current.Server
HttpContext.Current.Request
however, HttpContext.Current is null when I create this separate thread.
My question is, how do I create a new thread so that HttpContext.Current is not null,
or if that is not possible, is there another way I can access the Cache, Server, and Request objects?
Thanks.