1. HTML 5 Web Storage
With HML 5 web storage,
websites can store data on a
user local computer, before
this JavaScript cookies was
used to achieve this
functionality.
Merits of web storage are
More secure
Faster
Stores large amounts of data
There are two types of web
storage objects:
-Session storage()
-Local storage()
Session vs. Local
-local storage store data
with no expiration date
while session data is
destroyed when the browser
is closed
Storing a value
local Storage.setItem(“key1”));