I have a problem. Hope you can help me solve this problem.
I am creating a chat with LONG POLLING. To keep the main ajax requests in the domain (send a message) unqueued, I had to put my long polling script in a subdomain. So, I have 2 "domains"
foo.cz channel.foo.cz
I don't mind any of the same origin policies right now when I put
header("Access-Control-Allow-Origin: *");
at the top of this script. I also use
ini_set('session.cookie_domain', '.foo.cz');
in all scenarios (sending, receiving, talking).
For debugging, I have this in my .foo.cz / getNews.php channel:
print_r($_SESSION);
print_r($_COOKIE);
die();
My problem:
? !