Manual:$wgCookieSecure

From MediaWiki.org
Jump to: navigation, search

Other languages:
English • ‎日本語 • ‎polski
Cookies: $wgCookieSecure
Whether cookies are secured.
Introduced in version: 1.6.0 (r12253)
Removed in version: still in use
Allowed values: boolean and special value 'detect'
Default value: see below
Other settings: Alphabetical | By function

Details[edit]

Whether cookies are secured (Secure attribute of cookies, see section 4.1.2.5 in RFC 6265). If configured with the default value, 'detect', the runtime value is calculated by looking at the protocol that the request came in under (or as defined in $wgProtoManual:$wgProto if pre version 1.18). If it is 'https' then this variable is set to true, otherwise it is false.

See also[edit]