title: Persistence lifetime
body: <p>I read few articles about IndexdDB, but couldn't find details about the lifetime of persisted data. I plan to use it for a session of data manipulation and upload once the user finishes. But what will happen if: </p>
  
  <ul>
  <li>user close the browser tab</li>
  <li>user closes the browser</li>
  <li>user restarted the system</li>
  </ul>
  
  <p>Also, 
  I maintain user session through cookie based authentication. What will happen if the user logs off and log back in again? Is there a way to retrieve the data before the logoff?</p>
  
  <p>Any documentation on handling this is appreciated. I skimmed through the <a href="http://www.w3.org/TR/IndexedDB/" rel="noreferrer">spec</a>, but it is not that good a read.</p>
  
  <p>Thanks.</p>