cookies
: they send data from the browser to the server constantly.userdata
: allows a certain amount of data for web pages to store.html5 storage
: a way to store key/value pairs locally on the client/users web browser.However, the data is actually stored as a string. If you are storing and
retrieving anything other than strings, you will need to use functions like
parseInt() or parseFloat() to coerce your retrieved data into the expected
JavaScript datatype.(local Storage)
setitem*()
: calling with a key that has a value pair rewrites the value of the named key that already exists.getitem()
: calling with a key that has been declared will return null rather than throw an error.object store
: databases with records and fields, with each field with a specific datatype.