My subdomains redirect alls in the principle area .
I’m the admin.
We will entry to my web site by the principle area or subdomain.
I take advantage of that to share cookies between area and subdomain :
There isn’t any distinction if I let empty ADMIN_COOKIE_PATH, COOKIEPATH, and SITECOOKIEPATH.
outline('ADMIN_COOKIE_PATH', $_SERVER['HTTP_HOST']);
outline('COOKIE_DOMAIN', $_SERVER['HTTP_HOST']);
outline('COOKIEPATH', $_SERVER['HTTP_HOST']);
outline('SITECOOKIEPATH', $_SERVER['HTTP_HOST']);
At the moment all subdomains have entry to identical cookies as essential area however they can not learn these.
I learn in different stackoverflow submit that I have to add a interval cookie.
However the principle area would not want a interval to be allowed to learn cookies !
The wordpress_test_cookie has the identical worth in area and subdomain .
the cookies set on area and subdomain : wordpress_logged_in_, wordpress_sec_, wordpress_test_cookie and wp_lang.