Page 1 of 1

How to avoid timeout

Posted: Wed Sep 29, 2021 5:24 pm
by oli
Hello,

is there a way how to avoid unwanted timeouts in nuBuilder?
e.g. an User is working on a record and leaves the desk. After his return he got a timeout in nuBuilder and all changes that were made in the record before are lost since he didn't save the record.

BR, Oli

Re: How to avoid timeout

Posted: Thu Sep 30, 2021 10:36 am
by pmjd
Have a look at nuconfig.php, there is

Code: Select all

$nuConfigKeepSessionAliveInterval
which has a default of 600 seconds/10 minutes. Change that as you need.

Re: How to avoid timeout

Posted: Thu Sep 30, 2021 11:38 am
by oli
Hi pmjd, thanks for your reply!

I already changed it to 36000 (10 hrs) with no effect. I still get the timeouts earlier.
Are there other possibilities that could be used instead?

BR, Oli

Re: How to avoid timeout

Posted: Thu Sep 30, 2021 12:02 pm
by pmjd
Afraid I don't know. I tried changing it in the index/php file (as $nuConfigKeepSessionAliveInterval is referenced there too) but it didn't seem to change anything.

Re: How to avoid timeout

Posted: Fri Oct 01, 2021 8:13 am
by miasoft
pmjd wrote:Afraid I don't know. I tried changing it in the index/php file (as $nuConfigKeepSessionAliveInterval is referenced there too) but it didn't seem to change anything.
maybe you need to look Apache session timeout or php.ini

Re: How to avoid timeout

Posted: Fri Oct 01, 2021 9:40 am
by oli
Unfortunately I don't have access to the Apache or PHP configuration files of the server.
Are there other options (from client side maybe) to avoid the timeouts?

Re: How to avoid timeout

Posted: Fri Oct 01, 2021 3:02 pm
by miasoft
oli wrote:Unfortunately I don't have access to the Apache or PHP configuration files of the server.
Are there other options (from client side maybe) to avoid the timeouts?

Code: Select all

$nuConfigTimeOut	= 0;

Re: How to avoid timeout

Posted: Tue Oct 05, 2021 1:09 pm
by Dalkeith
I've had that issue with other applications..

It can be related to your host and caching on the server. Some host providers remove the application for the server cache after a period and encourage you to go to higher provision tiers to keep in cache. If you have tried everything that Mia has said and it doesn't work you will need to speak with your host.