title: What is the difference between localStorage, sessionStorage, session and cookies?
body: <p>What are the technical pros and cons of <code>localStorage</code>, <code>sessionStorage</code>, session and <code>cookies</code>, and when would I use one over the other?</p>