title: Can I use an <img> tag to send cookies across domains?
body: <p>Look at this situation:</p>
  
  <ol>
  <li><code>www.websitea.com</code> displays an <code>img</code> tag with a <code>src</code> attribute of <code>www.websiteb.com/image.aspx?id=5</code> and <code>style="display:none"</code></li>
  <li><code>www.websiteb.com</code> returns an clear image, in addition to a cookie with a name of <code>referrer</code> and value of <code>5</code> (created server-side from validated querystring.)</li>
  </ol>
  
  <p>Would the cookie be created on domain <code>www.websitea.com</code> or <code>www.websiteb.com</code>?</p>
  
  <p>Currently I'm sure a series of redirects with querystrings and to achieve cross-domain cookies, but I came up with this image idea a little ago. I guess I could also use an <code>iframe</code>.</p>
  
  <p>Thanks!</p>