SQLite what is the correct way?

Hello,
I would like to store data with SQLite after a few steps.
Example : first page I ask name and age, second page birth and gender, third page ....so on.
Till the last page.
But I would like to store data only when someone finished all pages.
If close the browser, or did not finished somehow I do not want to store that data.
Should I have to store temporary data in Local Storage, and on the last page when finished read data from Local Storage and write in SQLite database?
Or what is the correct way to do this?
Was this page helpful?
SQLite what is the correct way? - Kevin Powell - Community