Page 1 of 1

How do I disable the refresh_delay

Posted: 12 Oct 2020, 13:40
by econsor_ag
How would I disable the refresh_delay without breaking the framework?

The reason I need to disable it is because I have Pop-Up forms in the navigation.
If the site refreshes while the user is inside the form, all inputs will reset which will annoy alot of people.

Re: How do I disable the refresh_delay

Posted: 12 Oct 2020, 15:55
by cas
Look at the following settings:
/**
* make sure people are not refreshing too often
* in minutes
* @global integer $g_min_refresh_delay
*/
$g_min_refresh_delay = 10;

/**
* in minutes
* @global integer $g_default_refresh_delay
*/
$g_default_refresh_delay = 30;

Re: How do I disable the refresh_delay

Posted: 13 Oct 2020, 06:04
by econsor_ag
So I can set both to 0 ? I am working on a live instance, I dont want to break the page.

Re: How do I disable the refresh_delay

Posted: 13 Oct 2020, 10:09
by cas
Suggest you set it to 600 which is 10 hours. That should do it.

Re: How do I disable the refresh_delay

Posted: 13 Oct 2020, 11:44
by econsor_ag
Thank you for your help