Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Verto Posted 10 hours ago Posted 10 hours ago 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.
Daniel F Posted 10 hours ago Posted 10 hours ago The ACP_SESSION_TIMEOUT constant can be used to increase the time. Verto 1
Verto Posted 9 hours ago Author Posted 9 hours ago 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');
Jim M Posted 9 hours ago Posted 9 hours ago 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. Verto 1
Verto Posted 8 hours ago Author Posted 8 hours ago Thank you very much. You don't know how much I appreciate being able to solve this problem.
Recommended Posts