Manual:$wgCookieDomain

From MediaWiki.org
Jump to: navigation, search
Cookies: $wgCookieDomain
Set to set an explicit domain on the login cookies.
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed values: (string)
Default value: ""

Other settings: Alphabetical | By Function


[edit] Details

Set to set an explicit domain on the login cookies. eg, "justthis.domain.org" or ".any.subdomain.net".

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 www.example.com and example.com, since users that log into the former will be logged out as soon as they visit the latter.

Language: English  • 日本語 • Русский
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox