Manual:$wgObjectCacheSessionExpiry

Details
The expiry time in seconds to use for session storage. Prior to MediaWiki 1.27, this only took effect when   was enabled.