Parameter for Timeout

User avatar
Otto
Posts: 6380
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: Parameter for Timeout

Post by Otto »

Hello,

What problem arises when someone leaves the program open that we have to respond to?

However, a timeout won't help here if the user is no longer in front of the computer. You'll always have to close the program automatically, but you won't know whether the data needs to be saved or not.

I think we need to design the programs like on the web, where it doesn't matter if it remains open (stateless).

But it does require extra effort and a change in thinking. I believe that in the future you won't be able to simply use a record lock or even a file lock.

It would be beneficial, especially considering mod harbour, to have a standardized function: buffer and then check before saving if the buffered data is still current.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Marc Venken
Posts: 1481
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: Parameter for Timeout

Post by Marc Venken »

What problem arises when someone leaves the program open that we have to respond to?
Probably none, but it is just a good habbit of closing a program.

I will surely use this code to force the program to close. (give them enough time offcource) Non saved data is the responsability of the user. They need to save and close.
Marc Venken
Using: FWH 23.08 with Harbour
User avatar
RAMESHBABU
Posts: 626
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Re: Parameter for Timeout

Post by RAMESHBABU »

Probably none, but it is just a good habbit of closing a program.

I will surely use this code to force the program to close. (give them enough time offcource) Non saved data is the responsability of the user. They need to save and close.
+1

Ramesh Babu
Post Reply