Open main menu
This page is a translated version of the page Manual:$wgSessionsInMemcached and the translation is 33% complete.

Other languages:
English • ‎español • ‎français • ‎magyar • ‎polski • ‎中文 • ‎日本語
高速缓存设置: $wgSessionsInMemcached
Store session data in the object cache, rather than on the filesystem.
引进版本:pre 1.1.0
弃用版本:1.20.0
移除版本:1.29.0 (git #d6bdb6bb)
允许的值:(布尔值)
默认值:false

Details

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://secure.php.net/function.session-set-save-handler