Hi,
I'm having a cookie issue when using cross domain systems and I'm trying to make a check whether or not the cookie gets blocked.
How it is set up:
domain1: checkcookies.php -> Sends httprequest to the 2 files below from domain2.
domain2: createcookie.php -> creates a cookie
domain2: cookieexist.php -> checks if the created cookie exist. If it exists it prints "1" to the screen. If it doesn't it prints "0"
The weird thing is that even though the cookie exist, the domain1 check prints "0" even though the check is done in domain2, and domain 2 prints the result.
Anyone know what the problem might be? Or possibly other ways of doing this?
I'm having a cookie issue when using cross domain systems and I'm trying to make a check whether or not the cookie gets blocked.
How it is set up:
domain1: checkcookies.php -> Sends httprequest to the 2 files below from domain2.
domain2: createcookie.php -> creates a cookie
domain2: cookieexist.php -> checks if the created cookie exist. If it exists it prints "1" to the screen. If it doesn't it prints "0"
The weird thing is that even though the cookie exist, the domain1 check prints "0" even though the check is done in domain2, and domain 2 prints the result.
Anyone know what the problem might be? Or possibly other ways of doing this?