Look at this situation:
www.websitea.com
displays animg
tag with asrc
attribute ofwww.websiteb.com/image.aspx?id=5
andstyle="display:none"
www.websiteb.com
returns an clear image, in addition to a cookie with a name ofreferrer
and value of5
(created server-side from validated querystring.)
Would the cookie be created on domain www.websitea.com
or www.websiteb.com
?
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 iframe
.
Thanks!