When using FMS 188.8.131.52 on Windows server 2016 STD in Web Direct from Window 10 Edge, when the user gets disconnected (15 minutes timeout) the last modifications are not committed.
Bug? Setting to do?
User should commit before timeout if he want to save modification.
I wonder if my shopping cart go to purchased with timeout...
Good point, but it's not a shopping cart system, and even this save your shopping cart before time ou ;-)
I have a script trigger to 'Commit' OnLastWindowClose, but it's not working.
Any solution to force Commit automatically before time out?
I think shopping cart is saved every time I modified it, not at timeout.
I guess you don't want onObjectModify.
OnWindowClose also didn't work...
OnTimer worked, so you can set it onWindowOpen as 14min. or less. But user lose "revert record".
Well OnObjectModify make too many handling for all field.
OnTimer is a problem when user doesn't want to commit.
I really need something to commit before timeout ;-(
So I'm stuck!
So you need dialog for onTimer, confirming commit. But user wouldn't like this. You'd need re-install it on each user action, to count idle time will reach timeout soon.
Current behavior is, timeout shows dialog with cancel button, which revert the record.
Your request is changing it to commit, but you can't know user want to commit or revert when timeout, if "OnTimer is a problem when user doesn't want to commit."
Your real need might be never timeout.
I had to address this problem in a database served by FMS and accessed by FMPro, not WebDirect. I gave up on the user having the option to backtrack and had the database, every time a user starts modifying any field, install an onTimer that does the following every 60 sec:
- memorize the current field and the cursor location within that field
- commit the record
- enter the memorized field with the cursor set at the memorized location
On the local network, this happened fast enough that the user did not see it happen
Happy to provide more details if you are interested
Retrieving data ...