Does IE support indexedDB, WebSQL, or a database similar to SQLite?

netmobile picture netmobile · Jun 12, 2012 · Viewed 15.3k times · Source

For Chrome, I can use IndexedDB and WebSQL, for Firefox, I can use IndexedDB, what about IE? I have developed an app that uses WebSQL and it works fine on desktop Chrome and Safari, iOS Safari and Android browser. Next, I want to port it to Desktop Firefox and IE. I'm considering IndexedDB, but finding out IE doesn't really support it. What alternative do I have?

Answer

duri picture duri · Jun 12, 2012

IE10 supports IndexedDB. You can also use localStorage in IE8+. For older versions, you can use proprietary userData behavior: http://www.javascriptkit.com/javatutors/domstorage2.shtml

Please note that WebSQL database is deprecated and specification is no longer maintained.