Manual:$wgObjectCacheSessionExpiry/zh

From Linux Web Expert

Revision as of 03:50, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Memcached settings</translate>: $wgObjectCacheSessionExpiry
用于会话存储的过期时间(以秒为单位)。
<translate> Introduced in version:</translate>1.20.0 (Gerrit change 18069; git #3b0132a6)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(整数)
<translate> Default value:</translate>60 * 60 (1.39+)
3600 (1.20-1.38)

细节

用于会话存储的到期时间(以秒为单位)。 When a user has logged in without checking the "keep me logged in" option, they will be logged out if they are inactive (do not interact with the server) for this much time. For "keep me logged in" logins, the session will still be discarded, but the user will remain logged in as long as their authentication cookie (controlled by $wgExtendedLoginCookieExpiration) is intact.