title: Get cookie from remote domain by HttpWebRequest
body: <p>I have to pages on different domains: <a href="http://domain1/page1.aspx" rel="nofollow">http://domain1/page1.aspx</a> and <a href="http://domain2/page2.aspx" rel="nofollow">http://domain2/page2.aspx</a> (in real it's http handler).
  By WebHttpRequest I'm sending post request from page1 to page2.</p>
  
  <pre><code>string result;
  var webRequest = (HttpWebRequest)WebRequest.Create("http://domain2/page2.aspx");
  webRequest.Method = WebRequestMethods.Http.Post;
  webRequest.ContentType = "application/x-www-form-urlencoded";
  webRequest.ContentLength = 0;
  using (var webResponse = webRequest.GetResponse())
  {
    if (webResponse == null)
      return null;
     var reader = new StreamReader(webResponse.GetResponseStream(), Encoding.UTF8, true);    
     try
     {
       result = reader.ReadToEnd();
       if (string.IsNullOrEmpty(result))
         return null;
       }
     finally
     {
       reader.Close();
     }
   }
   return result.Deserialize();
  </code></pre>
  
  <p>I know, that there is a cookie on domain2, but when I'm getting in page2.aspx cookies collection is empty.
  When I'm making simple Response.Redirect to page2, cookie exists.
  So is it possible to make such requests and where I did mistake? Or maybe there is another method to do something like this?</p>