I am hoping somene here could advise me on a better solution to my present problem. First a little background information on the application.
I have a web application using the 3.5 framework. The structure of this application is as follows: UI -> WebService -> Business Layer -> DataAccess Layer. What I want to accomplish is for every request (click on a link or button) have a unique identifer that follows this request through its entire lifecycle. This unique identifer can be accessible anywhere within this request. We use Response.Redirects which could easily be changed to Server.Transfers (although I do not want to do that) but the problem lies with the web service calls. Currently, a GUID is set in the ApplicationRequest. This GUID checks for a guid value in the RawURL and if so, assigns this value to a HttpContext Item. If not, HttpContext.Items gets a new one created. However, this idea is wrong and will need to be revisisted. The bigger problem is with the web service calls. Without changing every web service method signature, and every call for that matter, is there a way of getting this GUID there. I created a web method in every web service so that each time I instantiate a web service object in the UI, before calling any
View Complete Post