If you have played with the HTML5 version of the cut the rope, you will notice that it remembers your scores for each game when you return to the site. To achieve this in your own applications you can use localStorage which is part of the Web Storage Specification. Local Storage gives developers a way to to store data in the web browser, which will be available even if the browser is closed and returned to later.
The information stored in local storage is only visible to the domain that saved it, and so you can happily place information in the store knowing other, potentially malicious, websites will not be able to access it.
This resource starts with the basics of MongoDB and goes on to describe the query language, advanced clustering configurations, administration, and more. It also includes a thorough glossary and command reference.
In this tutorial we are going to focus on WebSQL. localStorage is only a simple Key,Value or KV store. This is perfect for some lightweight data needs, however for more complex data needs webSQL is the perfect fit. WebSQL is a full blown sqlite implementation that runs in the browser!