Podręcznik:$wgExtendedLoginCookieExpiration

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgExtendedLoginCookieExpiration and the translation is 21% complete.
Other languages:
English • ‎español • ‎polski • ‎português • ‎русский • ‎中文 • ‎日本語
Cookies: $wgExtendedLoginCookieExpiration
If non-null, duration in seconds to use for "Nie wylogowuj mnie" sessions; 0 means until the browser is closed. If null, uses $wgCookieExpiration
Wprowadzono w wersji:1.26.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(integer)
Domyślna wartość:null

Szczegóły

Wersja MediaWiki:
1.26

The purpose of this cookie is to allow having a different (usually longer, but this is not enforced) duration for "Nie wylogowuj mnie" 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 "Nie wylogowuj mnie" duration to a year.

Logins where the "keep me logged in" option is not checked are entirely unaffected by this setting.

Logins where "keep me logged in" is set use a mechanism that can recover from server-side session expiry, so the lifetime of the extended login is unaffected by $wgObjectCacheSessionExpiry.

The values mean:

  • null - MW will follow $wgCookieExpiration instead.
  • Positive integer - Duration of "Nie wylogowuj mnie" sessions, in seconds.
  • 0 - "Nie wylogowuj mnie" sessions will last until the browser closes.

Zobacz też