Professor Harald, my roundcubemail's defaults.inc.php does not have that
warning line.
Here is my defaults.inc.php:
<?php
/*
+-----------------------------------------------------------------------+
| Main configuration file with default settings
|
|
|
| This file is part of the Roundcube Webmail client
|
| Copyright (C) 2005-2013, The Roundcube Dev Team
|
|
|
| Licensed under the GNU General Public License version 3 or
|
| any later version with exceptions for skins & plugins.
|
| See the README file for a full license statement.
|
+-----------------------------------------------------------------------+
*/
$config = array();
// ----------------------------------
// SQL DATABASE
// ----------------------------------
Since the session timeout I changed IS my site's default, there would be
the right place to put in, right?
Maybe my roundcube is an old version. I will check the latest one later.
So why Mr. Rodríguez's session settings in config.inc.php not working?
Best,
James
On 2020-11-13 08:52, Reindl Harald wrote:
Am 13.11.20 um 14:43 schrieb James Yu Wang:
Change it in the file: defaults.inc.php
stop giving bullshit instructions making it in list-archives and so
will be found years later by poor souls
"config.inc.php" is where you put your dirty fingers,
"defaults.inc.php" is *distributed* and whatever exists there can be
overwritten in "config.inc.php"
for idiots it has even a comment on top:
//
---------------------------------------------------------------------
// WARNING: Do not edit this file! Copy configuration to
config.inc.php.
//
---------------------------------------------------------------------
// Session lifetime in minutes
// default -> $config['session_lifetime'] = 10;
$config['session_lifetime'] = 20;
James
*From:*[email protected]
<[email protected]> *On Behalf Of *Javier de Miguel
Rodríguez
*Sent:* Friday, November 13, 2020 2:27 AM
*To:* [email protected]
*Subject:* [RCU] Session timeout not working as expected
Hello
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?
--
James Wang
CS Systems
_______________________________________________
Roundcube Users mailing list
[email protected]
http://lists.roundcube.net/mailman/listinfo/users