Re: Wiki 1.35, how to increase the login session without having the "keep me logged in" checked
Santiago Uribe <[email protected]>
| Newsgroups | gmane.org.wikimedia.mediawiki |
|---|---|
| Message-ID | <CAD+_am=VwtBQdiHcbfoipGXUc8N3fRnKJA44wXoLE+YkK8Q96Q@mail.gmail.com> |
I'm interested on staying logged in for 12 hours after the session has been written for the last time (12 hour idle time). I have these settings but they are not working $wgSessionsInObjectCache = true; $wgCookieExpiration = 604800; $wgExtendedLoginCookieExpiration = null; $wgObjectCacheSessionExpiry = 43200; any suggestions? On Thu, Aug 19, 2021 at 11:35 PM Tim Starling <[email protected]> wrote: > On 19/8/21 8:03 am, [email protected] wrote: > > I want to be able to stay logged in for 12 hours with the "keep me > logged in" box unchecked and be logged in for 7 days with the "keep me > logged in" box checked. I have tried $wgObjectCacheSessionExpiry = 43200 > and it doesn't seem to work. Does anybody have a suggestion on how to get > this going? Thanks > > There's no feature which would force a new login after a specific > amount of time. $wgObjectCacheSessionExpiry determines how long the > session is valid after it is last written, so if you do something on > the site frequently, you can keep the session alive indefinitely. > > See https://phabricator.wikimedia.org/T55156 . > > -- Tim Starling > _______________________________________________ > MediaWiki-l mailing list -- [email protected] > List information: > https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/ > _______________________________________________ MediaWiki-l mailing list -- [email protected] List information: https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/