KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Web Storage
PRODUCT: 4D | VERSION: 12.1 | PLATFORM: Mac & Win
Published On: February 4, 2011

Modern browsers have easy-to-use and simple API to store and retrieve offline data for a duration of a browsing session or longer. Web storage feature allows 4D developers to easily store key/value data pairs without having to worry about cross-browser compatibility.

This Technical Note will cover what’s the current development in browser offline storage, and why is the web storage recommended solution. API overview and local storage example is provided, with sample code that uses 4D replication via HTTP to get the data from 4D. Screenshots of how to inspect currently stored data in Firefox, Safari, and Chrome are also included.

Download Complete Tech Note and Example: Web Storage Tech Note