Wolfie Posted June 23, 2023 Posted June 23, 2023 So I have constants.php set the ACP session timeout to be over an hour and it's not honoring it. Was working fine before the .1 release so I have a feeling it may be related to that.
Marc Posted June 26, 2023 Posted June 26, 2023 You havent mentiond what it is you are setting. The correct constant for this is ACP_SESSION_TIMEOUT . Is this what is being used?
Wolfie Posted June 26, 2023 Author Posted June 26, 2023 Would have to be since it was working prior to the .1 release that I updated to (from 4.7.11 to 4.7.11.1). So yes, that's the constant that is being set in constants.php.
Wolfie Posted July 27, 2023 Author Posted July 27, 2023 So I've upgraded another site and it appears to be working fine with that, just not the first one that I upgraded. However, the first one is now inactive (can't afford to renew it as I renewed another one instead). So short of clearing the cache, which I have done multiple times, any suggestions would be nice.
Marc Posted July 27, 2023 Posted July 27, 2023 There is only that setting needed. I can only suggest letting us know once you have renewed and we can log in to see what the issue may be
Wolfie Posted July 27, 2023 Author Posted July 27, 2023 Okay, would appear that I spoke too soon. The value is NOT being honored on either install. Tested this earlier by looking at the time and then a little over an hour later I went to do something in the ACP and the session had timed out. This is the setting in the constants.php file (which I can confirm is being read just fine by the suite). \define( 'ACP_SESSION_TIMEOUT', 86400 );
Jim M Posted July 27, 2023 Posted July 27, 2023 16 minutes ago, Wolfie said: Okay, would appear that I spoke too soon. The value is NOT being honored on either install. Tested this earlier by looking at the time and then a little over an hour later I went to do something in the ACP and the session had timed out. This is the setting in the constants.php file (which I can confirm is being read just fine by the suite). \define( 'ACP_SESSION_TIMEOUT', 86400 ); May I ask how you're testing or evaluating this and what you're attempting to resolve with this?
Wolfie Posted July 27, 2023 Author Posted July 27, 2023 Just now, Jim M said: May I ask how you're testing or evaluating this and what you're attempting to resolve with this? You certainly may. (Shall I wait for you to actually ask? 😉) When I change the data storage settings in the ACP (Advanced -> Data Storage tab), it gives me a new constants.php file to use and then I have to confirm the file (which it checks to make sure it has been done properly). So that's how I know that it's reading the constants.php file just fine. Earlier when I made a reply to the other topic, I noted the time and then went off to do something. I returned to the computer a little over an hour later (1h 10m? 1h 20m?) and the session had been timed out. It's on the live site, not a test/dev site.
Jim M Posted July 27, 2023 Posted July 27, 2023 Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release.
Wolfie Posted July 27, 2023 Author Posted July 27, 2023 Could you test this on an install of yours just to confirm that it's not just happening to me?
Jim M Posted July 27, 2023 Posted July 27, 2023 52 minutes ago, Wolfie said: Could you test this on an install of yours just to confirm that it's not just happening to me? Yep, this was verified by myself and another developer.
Wolfie Posted July 27, 2023 Author Posted July 27, 2023 Just to add a bit more info, back when there were cookie issues with 4.7.11 and .1, the fix to that (.2) is when the problem started.
Daniel F Posted November 23, 2023 Posted November 23, 2023 I can't reproduce this, are you still experiencing this?
PatrickRQ Posted December 19, 2023 Posted December 19, 2023 (edited) I also experience the same issue. Configured via constants.php \define( 'ACP_SESSION_TIMEOUT', 86400 ); Edited December 19, 2023 by PatrickRQ
Recommended Posts