Does anybody have an idea why the manager of Revo (after updating to 2.1.1) logs me out every 2 minutes or hangs up on saving a resource?
Is there anything what we maybe did wrong in the updating-process?
Any idea? I use Chrome as well as Firefox...
Letti
-
MODX Staff
- 10,725 Posts
Try setting the value of the new System Setting session_gc_maxlifetime to a value of 640800 or similar (this is 7 days) and see if that prevents the issue you are experiencing. Also, what is the session.gc_maxlifetime value in your PHP ini settings?
Thanks a lot, this helped. The value in our PHP ini settings was 1440. Shouldn´t this normally prevent an automatically logout for 24 minutes? In our settings the log outs appeared already after a few minutes...
Do you know why this problem just appeared after upgrading to revo 2.1.1 and not in revo 2.1.0?
Letti
-
MODX Staff
- 10,725 Posts
Well, some improvements in session handling were made, especially when caching session records, but I just realized if you don’t have a value set in System Settings for session_cookie_lifetime, it may be setting the gc_maxlifetime to 0 inappropriately. What is your session_cookie_lifetime value in System Settings? It really depends on the gc_divisor and gc_probability settings on your server, as well, but remember, any PHP script that executes on your server will trigger the garbage collection process based on the settings it is using. This effectively applies the values from the script with the most aggressive gc settings to all PHP sessions on that machine.
-
☆ A M B ☆
- 179 Posts
Quote from: OpenGeek at Jun 15, 2011, 08:06 AM
Well, some improvements in session handling were made
Will the "session_gc_maxlifetime"-fix be part of 2.1.2? New users would like to have that with their fresh installation. ;-)