title: Offline Mode - Updating data once internet is connected
body: <p>I am just looking for advice on the feasibility of implementing this and any general ideas and  suggestions on whether this is possible. NOT code and this is not homework.</p>
  
  <p>I'm developing an online application for fitness, and, to and from the gym I usually have no internet connection and therefore have to wait until I return home / have internet connection before I can enter all the data for that particular day and any notes. </p>
  
  <p>I'm wondering whether or not it would be possible to somehow develop an offline mode where I can still enter the data and then when I return home, and, connect my laptop to the internet the data will then be uploaded to the server so I don't have to re-enter the data when I get home? </p>
  
  <p><strong>Thoughts</strong></p>
  
  <p>My general thoughts would be to place the data inside a cookie, but, I'm not quite sure how the cookie will update itself once the internet has come back. </p>
  
  <p>Another thought would be to use sockets, and, then interact that way. In that, my web-server has a cron job that "Seeks" whether data is available from a particular IP on the network (Again, the server will be on the same network) and if there is, then, the system will transfer the data from my local machine to the web server. </p>
  
  <p>Any ideas of your own will be greatly appreciated. </p>