This topic is locked
[SOLVED]

How do you customize the blocking time of the records?

4/20/2022 11:58:56 AM
PHPRunner General questions
fhumanes author

img alt

I have seen that when records are blocked through the phprunner configuration, the generated system has a maximum standby time and if the transaction is not completed, unlock automatically, the Edit page.

Do you know if you can customize that record lock time?

Greetings,
fernando

P
ppradhan@live.com 4/20/2022

sir,
I found this article that may help you with:

Auto unlocking
If a user goes to the Edit page and then clicks Back in the browser, the record remains blocked. To prevent this, PHPRunner utilizes an automatic unlocking method. By default, the record is unlocked after 550 seconds. You can change this value by editing two parameters in the file include/locking.php:
var $ConfirmTime = 250;
var $UnlockTime = 300;

The variable ConfirmTime determines the interval (in seconds) between requests for confirmation that the user hasn't left the Edit page (i.e., checking if the record is still locked).
The variable UnlockTime determines the time (in seconds) after a failed confirmation when the record is unlocked automatically.

Source: https://xlinesoft.com/phprunner/docs/audit.htm

fhumanes author 4/20/2022

thank you very much