5

How Does localStorage in HTML5 work? I searched every where (even in SO ) to find the actual internal logic of localStorage, but I ended up with visiting some examples which uses localStorage. I haven't found any useful Answer to my question. Can Someone post me a link or explain about the working of localStorage

asked Sep 2, 2010 at 14:46

2 Answers 2

6

I'm not necessarily sure what you're looking for here...but the internal implementation of localStorage is going to be browser specific. I wouldn't count on any two browsers implementing the feature the same way internally (just like everything, the implementation and performance will give each browser a different advantage).

If you're really interested, I'd suggest pulling down the Chromium source and seeing how they implement things internally.

answered Sep 2, 2010 at 14:58
1
0

You can use a simple jQuery plugin for store information using localStorage or cookie. This plugin it's useful because you don't need control if the browser has or hasn't suport to localStorage.

https://github.com/thyagoquintas/jquery-storage

answered Oct 4, 2012 at 0:46

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.