HTML Tutorial

Coming Tutorials

>Home> HTML Tutorial> Difference between Cookies and Local Storage

HTML Tutorial

Coming Tutorials



Difference between Cookies and Local Storage?

Cookies Local Storage
Client Side/ Server Side Data accessible both at client side and server side.  The data is sent to the serverside with every cookie request. Data accessible both at client side and server side.  The data is sent to the serverside with every cookie request.
Size Storage capacity of cookies is 4095 bytes/cookie. Storage capacity of local storage is 5MB per domain.
Expiration Cookies have expiration and cookie data gets deleted after some time. There is no expiration and has to remove manually.

Share the article to help your friends


 Previous Topic
Next Topic