-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
session timeout values #5961
Comments
Roundcube sets We do not set I'm not sure we should force |
That absolutely does make sense. I did not set it. That was the default from where I installed it. The only change I made inside the php.ini file FYI I used the kolab-webclient meta package. To install most of those packages. |
Fixed by forcing session.cookie_lifetime=0. |
I see a problem with this, PHP docs says:
Meaning if its forced to 0 it will be impossible to have sessions last after the browser is closed. |
I was having an issue earlier this week with a new installation of roundcube 1.3.0 where I would log in and within 3 minutes the session would be invalidated and it would kick me back to the login page.
We finally solved this issue today by going into the php.ini file and changing the value of
session.cookie_lifetime
to 0 from 180.Maybe I missed something or am just understanding it incorrectly but the value of
session_lifetime
inside the roundcube config.inc.php should determine how long the session lasts for.The php.ini
session.cookie_lifetime
is counted in seconds. And the roundcubesession_lifetime
is counted in minutes according to the docs but roundcube seems to just ignore the setting in it's config file.OS: CentOS 7
Roundcube version: 1.3.0
PHP version: 5.4.16
session_storage
driver: memcachesession_lifetime
: 30The text was updated successfully, but these errors were encountered: