title: Offline webapp. How to store data?
body: <h3>Introduction:</h3>
  
  <p>I want to develop a webapp to manage sports competitions. It must be able to run completely offline, store data locally and post the results online via AJAX whenever there is an internet connection available - this may be the day after.</p>
  
  <h3>Question:</h3>
  
  <p>How to store data using Javascript?</p>
  
  <h3>Aditional notes:</h3>
  
  <ul>
  <li>I don't want to use any server-side technology. </li>
  <li>It must be secure like a database. I've read about cookies and html5 storage but none of them sound convincing.</li>
  </ul>