This page is a translated version of the page Manual:$wgCookieDomain and the translation is 14% complete.
Cookies: $wgCookieDomain
Explicit domain for login cookies.
Introdotto nella versione:before 1.1.0
Rimosso nella versione:still in use
Valori concessi:(string)
Valore predefinito:''


Set to an explicit domain on the login cookies, e.g. or for all your subdomains.

By default this isn't set, so php's setcookie function will just set a cookie on the current domain. This is a bad thing if e.g. your site is available from both and, since users that log into the former will be logged out as soon as they visit the latter.