Re: Wiki 1.35, how to increase the login session without having the "keep me logged in" checked

Charles Deskins <[email protected]>
Newsgroups gmane.org.wikimedia.mediawiki
Message-ID <CALEaUjsZbDXSk98TBcVstE6+Cp=V=SJ18L4CP2rpv4yp8XBmhA@mail.gmail.com>
no

Charles Deskins

On Fri, Aug 20, 2021, 1:26 PM Santiago Uribe <[email protected]>
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 <[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/
>

_______________________________________________
MediaWiki-l mailing list -- [email protected]
List information: https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.