Kézikönyv:$wgCookieDomain
Appearance
| Cookies: $wgCookieDomain | |
|---|---|
| A bejelentkezési sütikhez használt pontos domain. |
|
| Bevezetve: | az 1.1.0 előtt |
| Eltávolítva: | használatban |
| Megengedett értékek: | (sztring) |
| Alapértelmezett érték: | '' |
| Egyéb beállítások: Betűrendben | Funkció szerint | |
Részletek
A változóban a bejelentkezési sütikhez használandó konkrét domain (például aldomain.domain.hu vagy .domain.hu (minden aldomainhez)).
Alapértelmezett esetben a beállítás nincs használatban, így értékét a PHP setcookie funkciója az aktuális honlap címére állítja.
Ez hátrányos akkor, ha a wikid mind a www.pelda.hu, illetve a pelda.hu címekről is elérhető, mivel az előbbin bejelentkezett felhasználók a másik domainen ki lesznek jelentkeztetve.
You should bump the value of $wgAuthenticationTokenVersion upon changing this config, to avoid the old cookies scoped to the root domain or a subdomain affecting the login session of users. Otherwise, they may not be able to edit or even log out until the old cookies are cleared manually.