Where is data stored when using an HTML 5 Web SQL Database
I just read something about HTML 5 Web SQL Databases. I did a little search on here and Google but couldn't find a simple to the point answer.
Can someone tell me, where is the data stored when using this? In memory or a text file or something else?
Also what browsers support this?
It's stored in a SQLite database. Here is a browser support chart I found: .
That said, the W3C has officially dropped support for WebSQL in favor of IndexedDB. Here's the equivalent chart for that:
You may also want to look at DataJS, which is a library that abstracts some of the details of local storage and works across browsers:
Hope that helps.
Web SQL locations by system for Google Chrome:
Windows Vista or 7
\Documents and Settings\_username_\Local Settings\Application Data\Google\Chrome\User Data\Default\databases
Mac OS X