Getting started with localStorage vs sessionStorage in html5

Before HTML5 appli­ca­tion data for a user has to be stored on a server. It had to be trans­ferred using cook­ies. This mech­a­nism affects the appli­ca­tion per­for­mance and secu­rity as well. The HTML5 Stor­age API