All my settings are in config.inc.php but this particular setting is
ignored:

$config['session_lifetime'] = 2;

Any idea?

El vie., 13 nov. 2020 a las 14:52, Reindl Harald (<h.rei...@thelounge.net>)
escribió:

>
>
> 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:*users-boun...@lists.roundcube.net
> > <users-boun...@lists.roundcube.net> *On Behalf Of *Javier de Miguel
> > Rodríguez
> > *Sent:* Friday, November 13, 2020 2:27 AM
> > *To:* users@lists.roundcube.net
> > *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?
>
_______________________________________________
Roundcube Users mailing list
users@lists.roundcube.net
http://lists.roundcube.net/mailman/listinfo/users

Reply via email to