0

Can localStorage do everything that cookies can do?

I'm new to creating and storing custom cookies. I'm wondering what the differences are as localStorage looks like a good option.

Thanks.

boom
  • 10,856
  • 9
  • 43
  • 64
  • yeah boom, it's deffo the better option simple usage too - check the browsers that it is available for - http://caniuse.com/namevalue-storage – Rob Sedgwick Jan 04 '14 at 21:27
  • 2
    @boom: A little bit of research goes a long way... The link above is literally the first Google search result for "localStorage vs. cookies" – Colin Brock Jan 04 '14 at 21:27

0 Answers0