We have some large sites on different domains. Let's say x.com and y.com, they run on the same backend, on the same server, with the same database.
We have a lot of content (Images and Articles)
I need to track users on both pages. I want to identify the user and use the same backend on both the sites to track their movement and go look at their tracks.
Is that possible with cookies? I think I could be able to give the clients a unique cookie, and then check for the cookie on both sites, writing their movements to the database as they go along.
Cookies are in general designed so that there is no crosssite interactoin... BUT... it is possible.
the <machineKey/>
attribute of the web.config file will allow you to do that.
You supply a validation key, a decryption key and a validation "type" and make sure that it is the same in the web config of both applications.
I've personally used it in a forms authentication environment and it works just fine there. I'm pretty sure you could use it to achieve your goals.