|If non-null, duration in seconds to use for "Keep me logged in (for up to $1 days)" sessions; 0 means until the browser is closed. If null, uses $wgCookieExpiration
|Introduced in version:||1.26.0|
|Removed in version:||still in use|
|Other settings: Alphabetical | By function|
|MediaWiki version:||≥ 1.26|
The purpose of this cookie is to allow having a different (usually longer, but this is not enforced) duration for "Keep me logged in (for up to $1 days)" login-related cookies. This means you can e.g. set the standard cookie duration (widely used for MW cookies) to 30 days, but set the "Keep me logged in (for up to $1 days)" duration to a year.
The values mean:
- null - MW will follow $wgCookieExpiration instead.
- Positive integer - Duration of "Keep me logged in (for up to $1 days)" sessions, in seconds.
- 0 - "Keep me logged in (for up to $1 days)" sessions will last until the browser closes.