HTML and CSS Reference
CHAPTER 9. DATA STORAGE
On the Web, there are two places to store information:
on the web server, or on the web client (the viewer's com-
puter). Certain types of data belong on one, while others
work better on the other.
The web server is the place to store sensitive information
and data you don't want people tampering with. For ex-
ample, if you fill your shopping cart at an online book-
store, your potential purchases are stored on the web
server. The only data your computer keeps is a tiny bit of
tracking information that tells the website who you are
(so it knows which shopping cart is yours). Even with
HTML5, there's no reason to change this setup—it's safe,
secure, and efficient.