I have PHP / MySQL front-end that uses some very large forms to collect data. I have the data saving to the database at regular intervals using a JSON post in the background. Occasionally, the user loses connectivity, but continues working. That data is then lost, causing frustration, etc...
Is it possible to have the client transition seamlessly to saving the data in a local file when connectivity is lost, then sync back up to the database once the connection is restored? I know this is not a simple request, I'm just looking to see if it has been done, or could theoretically be done.
Thanks in advance.