DEV Community

Discussion on: Diff Among cookie, localStorage, and sessionStorage

Collapse
 
painotpi profile image
Tarun Pai • Edited

Good article!

Just a couple of feedback items,

  • Probably could've explained data persistance a bit more - especially for sessionStorage

  • Could've also expalined the security aspects of all 3 storage methods and what kind of data is typically stored in these individual APIs in real-world scenarios.

Collapse
 
0xkoji profile image
0xkoji

@painotpi , thank you for your feedback.

just added some information on data persistence.