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”
Thanks…
why its not working properly in IE 11?
unable to run the example in IE 11?
Any explanitation whats wrong with IE
can anyone tell, why local storage undefined occur, even I can see value in xml in Dom store
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?
Thanks adam
This is so well done, thank you!
Adam you are really great Javascript tutor man i like all your videos ๐ and i need tutorial on Angular JS from you (y)
How to avoid "Quota Exceeded Error" on iphone .
You destroyed USA.
how to assign the base64 code to imge src
Very easy to follow!
very helpful
Excellent video, very clear and understanding video
Thank you very much
Amit Agarwal, 39 years from Delhi, India
Thank you, I love you!
Does local storage or session storage make the web application run slow?
Hi Adam,
Could you make a video for inserting a store locator into a website using the haversine formula. Also, include s map view and list view for it.
Thanks
Hello Adam,
just like always, useful.
Do you do freelancer work? or an office for work you sell?
Could I apply this for my mobile app? I'm using ionic. Thanks!
cool!
I think I was bubbled away when I signed in to comment on the bubbles tutorial.
Bubble day! I love the stuff works perfect on a website. Presentable even on smartphones. Thanks for another great stuff Adam!
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 .
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.
00
ty adam. ๐
Do a full MEAN stack application. Mongo, express, angular, and nodejs.
useful information, thanks for share
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.
I love cookie sessions, this is a video for me!
Thanks
nice tutorial..
Disabling JavaScript in your web browser, this will not work.
Thank you for creating this Mr. Adam Sir ๐
you're great, Adam!
Mega thanks for these tutorials. I been working at getting to do this for three years now, just clearing everything else. nearly there or here.
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.
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)
this is very useful!
Thanks for that tutorial. Where is localStorage actually stored? Is it aside normal cookies?
Thanks ! It's a Clear localStorage Tutorial . I see this in Book & don't know how to use it . Now , Your tutorial is what I need to learn.
Is localStorage same Cookie ?