Manual:$wgSessionsInMemcached

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgSessionsInMemcached and the translation is 50% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎فارسی • ‎français • ‎日本語 • ‎Nederlands • ‎polski
Memcached settings: $wgSessionsInMemcached
Store session data in the object cache, rather than on the filesystem.
導入されたバージョン: pre 1.1.0
廃止予定になったバージョン: 1.20.0
除去されたバージョン: 使用中
可能な値: (真偽値)
既定値: false
他の設定: アルファベット順 | 機能順

詳細[edit]

Despite the name of this setting, it will use whatever object cache you specify in $wgMainCacheTypeManual:$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: http://www.php.net/manual/en/function.session-set-save-handler.php