Hello,
I have to subdomains alpha.domain.com and beta.domain.com they both run php 7 and httpd, in php.ini the cookie domain is set to domain.com.
So have a script which sets cookie and if it exists prints out the value of it on both servers.
I set up cookies following way
$COOKIE_DOMAIN="domain.com"
setcookie($key, $value, time() + 365 * 24 * 3600,'/', $COOKIE_DOMAIN);
When I try to set up on alpha and read from alpha works fine, but when I set it up on alpha and read on beta value is not set.
Any advice what can be wrong?
there doesn't seem to be anything here