What is the difference between browser cookies and browser key-value storage?

The title is self-explanatory I think... What's the difference between setting a cookie in your browser and using the browser storage library in Snap!?

cookies are temporary, and get deleted after a set amount of time. Browser storage stays forever until deleted.

Browser storage is also called localstorage.

Localstore is typically bigger than a cookie, which is meant to hold a concise nugget of information about you. Also, the expectation is that localstore is for you, whereas cookies are used by corporations against you. But the mechanism is basically the same.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.