Jump to content

Manual:$wgSessionsInMemcached

From mediawiki.org
This page is a translated version of the page Manual:$wgSessionsInMemcached and the translation is 50% complete.
Memcached の設定: $wgSessionsInMemcached
Store session data in the object cache, rather than on the filesystem.
導入されたバージョン:1.1.0 未満
廃止予定になったバージョン:1.20.0 (Gerrit change 17929; git #6eb6313b)
除去されたバージョン:1.29.0 (Gerrit change 324353; git #d6bdb6bb)
許容される値:(真偽値)
既定値:false

詳細

Despite the name of this setting, it will use whatever object cache you specify in $wgMainCacheType .

If 'true', MemcachedSessions.php is loaded on startup:

This file gets included if $wgSessionsInMemcached is set in the config.
It redirects session handling functions to store their data in the object cache
instead of the local filesystem. Depending on circumstances, it may also
be necessary to change the cookie settings to work across hostnames.
* See: https://php.net/function.session-set-save-handler