Ok, i've researched this several times and cannot find a solution.
I need to set a cookie on one domain and be able to access it from another domain. I have tried changing the domain in the setcookie function but of course, due to many security issues with that, it does not work.
This is what I was thinking of...
On domain1.com there would be a code to execute a script on domain2.com. When the script executes it sets a cookie on domain2. The reason for this is because the script must be on the server it is setting a cookie on.
Is there any way to execute the script on domain2 from domain1?
Does anyone have any ideas how this can be done?
Yes, it is possible, anything is possible. If there is a will, there is a way. I have actually seen this done many times. Any help/suggestions is appreciated.
also, Yes, it does have to be a cookie 🙂
Thanks,
Matt