Manual:$wgCookieExpiration

From MediaWiki.org
Jump to: navigation, search
Cookies: $wgCookieExpiration
Number of seconds before HTTP cookies expire
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed values:
Default value: 1.18–: 30 * 86400
1.19+: 180 * 86400

Other settings: Alphabetical | By Function


Details [edit]

The default value is 180 days (180 * 86400 seconds/day). This means MediaWiki users will be logged out automatically 180 days after they log in if they select the "remember me" checkbox when logging in. Setting this configuration variable to 0 makes all cookies session-only.

The previous value of this configuration variable was 30 days (30 * 86400 seconds/day). The value was raised in 1.19.

Language: English  • 日本語 • русский