HTML5: saving data in local database when browser closes

I would like to see a good tutorial or simple/clear example of storing a value using local storage in HTML5, where the data is still there after the browser is closed and reopened. I believe there are two ways of storing data, just as text, or in a database. I prefer the database for now. I suppose it will be more complex to start, but in the end it's more useful for what I want.
LVL 13
R7AFAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Look here for more info: http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28HTML_5%29#Related_specifications

As best I can find, 'database' storage is not universally implemented.  In other words, they can't agree on what to do.
0
R7AFAuthor Commented:
Thank you. I don't need to write an application that will work across all browsers. At first I want to get familiar with it, and create a tool for my own use, on my mobile phone and in a browser. So I know what those browsers can do, and they support this.
0
Dave BaldwinFixer of ProblemsCommented:
Then you might get betters answers if you add more specific zones to your question by clicking on "Request Attention" above and tell the mods what OS and phone you are using.
0
R7AFAuthor Commented:
I found this tutorial, and that seems to do what I need:
http://html5tutorial.net/tutorials/working-with-html5-localstorage.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
R7AFAuthor Commented:
...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.