?
Solved

HTML5: saving data in local database when browser closes

Posted on 2011-10-04
5
Medium Priority
?
170 Views
Last Modified: 2012-05-12
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.
0
Comment
Question by:R7AF
  • 3
  • 2
5 Comments
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 36912783
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
 
LVL 13

Author Comment

by:R7AF
ID: 36912815
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
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 36912846
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
 
LVL 13

Accepted Solution

by:
R7AF earned 0 total points
ID: 37049931
I found this tutorial, and that seems to do what I need:
http://html5tutorial.net/tutorials/working-with-html5-localstorage.html
0
 
LVL 13

Author Closing Comment

by:R7AF
ID: 37946020
...
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question