0
I am developing a web application and would like to get the system working both online, how much offline. The idea is to keep a local database that responds when the user is offline, but I don’t know how I can do to synchronize the data between the local bank and the remote when the connection is reestablished.
I know how to see if the computer is with internet or not, just do not know how to update the data after it is with internet.
You should as soon as the connection is established make an HTTP request to the server sending the local data and inserting/updating in the database. It’s not much of a secret.
– Leandro Curioso