Memcached settings: $wgObjectCacheSessionExpiry
Expiry time to use for session storage in seconds.
Introduced in version:1.20.0 (Gerrit change 18069; git #3b0132a6)
Removed in version:still in use
Allowed values:(integer)
Default value:60 * 60 (1.39+)
3600 (1.20-1.38)

Details edit

Expiry time in seconds to use for session storage. 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.