title: Cross-Domain Cookies
body: <p>I have two webapps WebApp1 and WebApp2 in two different domains.</p>
  
  <ol>
  <li>I am setting a cookie in WebApp1 in the HttpResponse.</li>
  <li>How to read the same cookie from HttpRequest in WebApp2?</li>
  </ol>
  
  <p>I know it sounds weird because cookies are specific to a given domain, and we can't access them from different domains; I've however heard of CROSS-DOMAIN cookies which can be shared across multiple  webapps. How to implement this requirement using CROSS-DOMAIN cookies?</p>
  
  <p>Note: I am trying this with J2EE webapps          </p>