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!
The cookie is created from the request to websiteb.com so yea... the cookie goes to websiteb scope
The cookie would be created for websiteb.com.
Ok looks good. Tested in all browsers. Added a P3P tag for IE6, not sure if it was necessary though.
You're on the right track. As others have mentioned, the cookie would be created for websiteb.com.
To overcome issues with IE you'll probably need to ad a Compact Privacy policy.
Start here: http://msdn.microsoft.com/en-us/library/ms537342.aspx and Google for the rest.
Check out: cross-domain-user-tracking
Someone mentions using a 1x1 image for tracking across domains.