Thread:Project:Support desk/Session cookie no timeout

Hello everyone and, in advance, thank you for your help.

I'm trying to reduce the connection time of my users. I would like them to be disconnected from mediawiki after an hour of idle time (they don't do anything or close their browser and they should be disconnected after one hour).

I tried changing $wgCookieExpiration = 60; in /opt/bitnami/apps/mediawiki/htdocs/LocalSettings.php

And also set up these parameters in php.ini (/opt/bitnami/php/etc/php.ini): session.gc_maxlifetime = 60 session.gc_divisor = 1 session.gc_probability = 1 session.cookie_lifetime = 60

Parameters above limit cookies to 60 seconds for testing purposes.

But nothing does. There are three cookies set up when I browse my mediawiki : bitnami_mediawikiUserID (contains an integer) bitnami_mediawikiUserName (contains my username) bitnami_mediawiki_session (session id)

The first two are indeed limited to the 60 seconds I defined, but the latest is "up until the end of the session". After 60 seconds, the first two cookies are properly deleted but the last one is still sent to mediawiki and keeps the session on. Users are therefore not disconnected.

Any idea on how to limit session timeout on mediawiki ?

Thank you for everything !

Cédric

Mediawiki version : 1.23.4 Php version : 5.4.32 (fpm-fcgi) Mysql version : 5.5.39