¿Cómo almacenar la base de datos sin conexión y compartirla con el servidor cuando está en línea?
Frecuentes
Visto 352 veces
-1
Could someone recommend simple method or service for this?
Basically we have an iPad app but it should be able to store form data also when offline. So I'd need a local storage and sync it to server when it's back online.
We need to be able to handle few thousand form inputs and javascript/html is heavily preferred in this case.
Many thanks gurus
1 Respuestas
0
Save it using almacenamiento local:
localStorage.setItem('whatever', value);
Whenever you're back online, just retrieve it using:
localStorage.getItem('whatever');
Respondido 29 ago 12, 12:08
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas javascript sql sqlite local-storage offline or haz tu propia pregunta.
So ... What have you already tried? - Tom Naessens
Please, do some research. This is not a "we happily do your research instead of you" site. Come back when you have specific questions. - kapa