title: Calling a web service that uses session state in wcf
body: <p>I have a web service that calls another web service that uses session state.  Now I am rewriting the web service and making it WCF.  I am having some confusion on how to call my web service from my wcf service.</p>
  
  <p>Here is the code as it exists now:</p>
  
  <pre><code>[WebMethod(EnableSession = true]
  public string MyWebServiceCall()
  {
     string result;
     MyOtherWebService.MyOtherWebService C = 
                                  new MyOtherWebService.MyOtherWebService();
     C.CookieContainer = GetCookieContainer();
     result = C.GetResult();
     Session[_codingBookSession] = C.CookieContainer;
     return result;
  }
  </code></pre>