[RCU] Session timeout not working as expected

James Yu Wang yuwang at cs.fsu.edu
Fri Nov 13 14:43:21 CET 2020

Change it in the file: defaults.inc.php
// Session lifetime in minutes
// default -> $config['session_lifetime'] = 10;
$config['session_lifetime'] = 20;


From: users-bounces at lists.roundcube.net <users-bounces at lists.roundcube.net> On Behalf Of Javier de Miguel Rodríguez
Sent: Friday, November 13, 2020 2:27 AM
To: users at lists.roundcube.net
Subject: [RCU] Session timeout not working as expected


I am running Roundcube 1.4.5 in Centos 7, apache 2.4.6, memcached 1.4.15 &  php 7.3.17. I want to set a session timeout in Roundcube, an idle user should be kicked off after 20 minutes of inactivity.

I have this setting in config.inc.php

$config['session_lifetime'] = 20;

In php.ini I have this relevant settings:

session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1200

I have read several times doc & bug tracking reports of this feature and this setting should work. Somebody can tell me what am I missing?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/users/attachments/20201113/e7d8786f/attachment.html>

More information about the users mailing list