no

Charles Deskins

On Fri, Aug 20, 2021, 1:26 PM Santiago Uribe <santiago.uribe@digidescorp.com> wrote:
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 <tstarling@wikimedia.org> wrote:
On 19/8/21 8:03 am, santiago.uribe@digidescorp.com 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 -- mediawiki-l@lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
_______________________________________________
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/