There are 2 cookies PHPSESSID. One on the domain, the second on the subdomain.
On the subdomain, I need to get the value of the cookie that is on the domain.
I am writing $_COOKIE["PHPSESSID"] , everything works. Question: Does $ _COOKIE always give out a cookie? How to indicate explicitly that a domain cookie is needed?
var_dump($_COOKIE)and see what it brings up - Anton Shchyrov