I have a third-party web service that I'm calling - it's constructed like this:
var response = client.PostLead(param1, param2 etc);
Two of the parameters it requires are properties of the current request (UserAgent & IPAddress).
I want to launch the method in another thread so that I can control the timeout, however because the method relies on HttpContext, there is an issue.
I can pass HttpContext into the parent class or method, however first time I've done anything with threading so I don't know whether this is the best or only course of action.