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:
- user close the browser tab
- user closes the browser
- user restarted the system
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?
Any documentation on handling this is appreciated. I skimmed through the spec, but it is not that good a read.
Thanks.