How do I disable the refresh_delay

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

How do I disable the refresh_delay

Post 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.
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: How do I disable the refresh_delay

Post 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;
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

Re: How do I disable the refresh_delay

Post by econsor_ag »

So I can set both to 0 ? I am working on a live instance, I dont want to break the page.
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: How do I disable the refresh_delay

Post by cas »

Suggest you set it to 600 which is 10 hours. That should do it.
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

Re: How do I disable the refresh_delay

Post by econsor_ag »

Thank you for your help
Post Reply