Reputation: 1
I am creating a server side proxy that uses thread pool, I would like to hold each HttpContext from the ProcessRequest on the same thread and only in this thread, whenever the ProcessRequest method finish its work the recieved HttpContext doesn't work anymore(my guess is that it disconnects whenever the ProcessRequest method is done) is there anyway around it to keep the HttpContext working even when the ProcessRequest method is done?
Thanks :)
Upvotes: 0
Views: 136
Reputation: 1705
A more common solution that sounds easier is to save the state somewhere instead, in the cache or database if you have the possibility to do that.
Upvotes: 1