JavaScript Storage Interface sessionStorage localStorage Tutorial




Lesson Code: http://www.developphp.com/video/JavaScript/JavaScript-Storage-Interface-sessionStorage-localStorage-Tutorial
In this exercise we explore the Storage interface in JavaScript. Allowing the front-end of your applications to remember persistent data across the entire domain, for each individual user. It is somewhat similar to creating session and cookie variables in other programming languages you might work with.

Original source


41 responses to “JavaScript Storage Interface sessionStorage localStorage Tutorial”

  1. Hey Adam would it be practical to create a customer service bot with all the different responses stored in the local storage? I'm trying to create like a lil customer service bot that helps people on my site choose the best service for them. What do you recommend is the best way to go about this?

  2. Adam I have a request for you, i play this game called warframe who's launcher has an amazing UI , can you make one tutorial on how to Script that , or just give me some guides on how to proceed with the code .

  3. Hi Adam, your projects have helped me a lot in my engineering course.
    You have all sorts of projects ranging from E-Commerce to CMS to Social Network.
    Plase develop a project on online exam portal too, will be of great help.
    Thank you.

  4. Hi Adam,

    Many thanks for this informative tutorial.
    I would highly appreciate if you can make video(s) shedding the light on the web security issues using JavaScript/jquery if it makes sense.
    Thanks in advance.

  5. If you are new to localStorage and sessionStorage, you can easily view what websites are storing in those amenities. For example, log into facebook….if you are using Chrome hit f12 to bring up the developer box. then hit resources. you can twirl open localStorage and select the facebook url to see all the data they are storing on your local machine. I use localStorage extensively…it is a handy way to "cache" info and save from using unnecessary mysql queries….as long as that info is not security related.

  6. Hey Adam. I'm currently making a website that allows users to create an account for themselves, and I want to give them the ability to upload an avatar for their profile picture. Where do you suggest I save their pictures? Would you say localStorage is a good place for it? And than just save the picture name in the database?

    Any help is appreciated (From anyone)

Leave a Reply