Manual:$wgSessionsInObjectCache

From Linux Web Expert

Revision as of 06:31, 28 January 2022 by imported>NguoiDungKhongDinhDanh (Fix old source tag)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Memcached settings</translate>: $wgSessionsInObjectCache
Whether to store sessions in object cache.
<translate> Introduced in version:</translate>1.20.0 (Gerrit change 17929; git #6eb6313b)
<translate> Deprecated in version:</translate>1.27.0 (Gerrit change 243223; git #a73c5b73)
<translate> Removed in version:</translate>1.33.0 (Gerrit change 489405; git #a38fe6cd)
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>true (1.27-1.32)
false (1.20-1.26)

Details

Whether to store sessions in object cache.

Since 1.27.0, sessions are always stored in the object cache, and this configuration parameter becomes unuseful.

The cache type is configured by $wgSessionCacheType . This can be useful to improve performance, or to avoid the locking behavior of PHP's default session handler, which tends to prevent multiple requests for the same user from acting concurrently.

See also