title: Azures Arr Affinity response cookie
body: <p>Once you consume and set Azure ARRAffinity response cookie and send it back to Azure, are you supposed to get it back with next response ? </p>
  
  <p>I just completed bit of code what brings Azure response cookie all the way to browser, sets it as a session cookie and then I pass it back to Azure in request as a cookie. To my surprise I am not getting this cookie back, I see it only the first time. However I have a feeling this might be expected behaviour - I could find anything in the documentation. When I try to change the cookie to some made up value, the correct cookie is returned with the next response.  </p>
  
  <pre><code>public class RestRequestWithAffinity : RestRequest
  {
      public RestRequestWithAffinity(string resource, IRequestWithAffinity request)
          : base(resource)
      {
          if (!string.IsNullOrEmpty(request.AffinityValue))
          {
              AddCookie("ARRAffinity", request.AffinityValue);
          }
      }
  }
  
   var request = new RestRequestWithAffinity(url, feedRequest)
          {
              Method = Method.GET
          };
  
  // cookie doesn't come back when already in request
  IRestResponse response = await _client.ExecuteTaskAsync(request);
  </code></pre>