php_joe Posted May 13, 2008 Share Posted May 13, 2008 I know how to set a cookie using setcookie(), but can a website set cookies with another website's name on them? For example, if I have a website, http://www.mysite.com, could I set a cookie for http://www.someothersite.com? There is a website that I send referrals to, but they're mad at me. They claim that I'm setting referral cookies on my site. Link to comment https://forums.phpfreaks.com/topic/105430-can-you-set-cookies-for-other-sites/ Share on other sites More sharing options...
revraz Posted May 13, 2008 Share Posted May 13, 2008 No, your domain can only set cookies for your domain. Link to comment https://forums.phpfreaks.com/topic/105430-can-you-set-cookies-for-other-sites/#findComment-539973 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.