Hi all,
Maybe a little cryptic. This is my first post here although I use WPmu quite a long time now, so bear with me.
In het newest installation there is this line in wp-settings.php :
if ( !defined('COOKIE_DOMAIN') ) define('COOKIE_DOMAIN', '.' . $current_site->domain);
In my setup there is WP_site, the table which contains 1 relevant record containing the TLD domain and /weblog/ as path. All my blogs are on subdomain.tld.nl/weblog/ and taken from the domain path in the wp_blogs table. This is also the one which is used site-wide to indentify the blog.
Why does COOKIE-DOMAIN take the TLD var from the other table instead of the one used in blogs. This causes problems in Internet Explorer ( 'no cookies allowed' ) and sometimes in Firefox with 'hanging' cookies.
To point out:
if ( !defined('COOKIE_DOMAIN') ) define('COOKIE_DOMAIN', '.' . $current_site->domain);
is trouble and:
if ( !defined('COOKIE_DOMAIN') ) define('COOKIE_DOMAIN', '.' . $current_blog->domain);
works like a charm as far I can see.
So why is that? Are there any arguments for it or can this constant better be said to the Blog one?
I hope it's clear what I'm trying to ask.