Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 9Jan 9 Hello. I would like to increase the waiting time before logout, when no activity is detected, in the administration area. It happens to me very often, that I am working on the development of some explanatory text, and when I go to save it, the session has expired and I lose all the work done. If someone can tell me how to increase this time, I would be very grateful.
January 9Jan 9 Author First of all, thank you very much for your help. The problem is that I don't see that constant on the information page you provided. I was looking there previously, in case I found something but I didn't see anything. However, I understand that a constant can be set to delimit the session expiration time, but I don't know how to define it. should I set the time in minutes, seconds, how? Something like this for two hours?: \define('ACP_SESSION_TIMEOUT','120');
January 9Jan 9 Can look in init.php for all constants. ACP_SESSION_TIMEOUT is in seconds to consider the session valid for. Generally, I do not recommend extending this unless you are in a local or secured development/testing environment.
January 9Jan 9 Author Thank you very much. You don't know how much I appreciate being able to solve this problem.
January 10Jan 10 Author Is there any expiration limit, independently of the default one configured in init.php and the custom one configured in constants.php? The system keeps closing my sessions after one hour has elapsed. I have configured a limit of 8 hours, in constants.php, but it does not respect it.