Jump to content


From mediawiki.org
This page is a translated version of the page Manual:$wgCookieSameSite and the translation is 15% complete.
Cookies: $wgCookieSameSite
The SameSite cookie attribute used for login cookies.
Wprowadzono w wersji:1.34.3 (Gerrit change 608993; git #f8a7a1ac)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:"Lax", "Strict", "None" or an empty string/null
Domyślna wartość:null (gerrit:608993, gerrit:612335, gerrit:615843)


This only applies to login cookies, since the correct value for other cookies depends on what kind of cookie it is.

SameSite=None is only permitted for HTTPS requests. See $wgForceHTTPS ).


This variable was added in MediaWiki 1.35.0 (gerrit:608993).

It was backported to 1.34 as part of the MediaWiki 1.34.3 release (gerrit:612335).

It was also backported to 1.31 as part of the MediaWiki 1.31.9 release (gerrit:618543).

Zobacz też