Jump to content

Featured Replies

Posted

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.

The ACP_SESSION_TIMEOUT constant can be used to increase the time.

 

 

  • 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');

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.

  • Author

Thank you very much. You don't know how much I appreciate being able to solve this problem.

  • 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.

Recently Browsing 0

  • No registered users viewing this page.