title: Browser ignores cookie if domain is set
body: <p>I need to share cookie between two web applications deployed on azure (eg. x1.azurewebsites.net, x2.azurewebsites.net)</p>
  
  <p>I thought that all i need to do is to set a domain:</p>
  
  <pre><code>Response.Cookies.Add(new HttpCookie("TEST", "BLE")
  {
  Domain = "azurewebsites.net"
  });
  </code></pre>
  
  <p>But its not working.</p>
  
  <p>For test purposes I added:</p>
  
  <pre><code>Response.Cookies.Add(new HttpCookie("TEST2", "AQQ"));
  </code></pre>
  
  <p>And this one works ok - but its available only on x1.azurewebsites.net</p>
  
  <p>So the question is whats wrong with the code above?</p>
  
  <p>Is it possible to share cookie like this?</p>
  
  <p>Maybe this is security issue? - i understand that every application hosted on azuerwebsites will have access to information stored in my cookie </p>