I\'ve a problem with setting cookies in php. I\'ve to say that I\'m not very experienced with php, so maybe is a very stupid problem.
I\'ve an ajax rating system tha
Check the cookie settings of the other browsers and if they're set to block all or empty on exit.
If the cookies work in one browser, but not another, you will need to make sure that the other browser is letting you set cookies in the first place.
Sometimes it will look like you can create the cookie, but then it will disappear or be deleted with each page reload.
It's also possible that because you're setting the cookies in an iframe, that the browsers may view it as a third-party cookie and reject it unless explicitly set out in the browser preferences to allow third-party cookies.
In that case you would need a compact privacy policy (or a compact P3P header) on the pages from where you're trying to set the cookies from.
For PHP, you would add this as your header for the page setting the cookie:
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');