• Wednesday , 3 June 2020

JavaScript Tutorial #11 – Cookies & Local Storage

Code Canyon

This is tutorial looking at how we can use cookies or local storage to store information over multiple pages or sessions. All Links and Slides will be in the description. Subscribe for more cool stuff!

Slides & files – https://github.com/DrapsTV/DrapsTV_Materials/tree/master/Javascript%20Tutorials/Tutorial11%20-%20Cookies%20%26%20Local%20Storage

Steam Group: http://steamcommunity.com/groups/DrapsTV

Twitter: https://twitter.com/DrapsTV

Facebook: https://www.facebook.com/DrapsTV/

If you like what you see be sure to subscribe and thumbs up!

Original source

3d Ocean

Related Posts


  1. Ankur Gautam
    April 18, 2019 at 04:58


  2. John Bentley
    April 18, 2019 at 04:58

    Great video! You really helped me to understand the difference between cookies and local storage, and how to implement them.

  3. rakesh shrestha
    April 18, 2019 at 04:58

    worst teacher on the internet .. copying from another screen codes

  4. Rajeev Kumar
    April 18, 2019 at 04:58

    really awesome explaning sir pls make video angular 2,4,5 login , register , forget password sir pls make….

  5. Xöchz
    April 18, 2019 at 04:58

    Thank god i love you for showing me the local strorage. You just saved my school project.

  6. XmenTech
    April 18, 2019 at 04:58

    i watched that video at speed 2

  7. crunckNATIon
    April 18, 2019 at 04:58

    awesome!!…so local storage is a better choice is what im hearing, or sessions storage? also u just got one more subscriber

  8. Angelos Yiannakou
    April 18, 2019 at 04:58

    Has anyone tried the code ? I copied the code and tried to run it through 3 different browsers but does not work!

  9. DrakyGordon
    April 18, 2019 at 04:58

    thanks for the video…wonderful lecture on cookies and local storage…may i know what theme are you using for your notepad++???

  10. Arjay Pogoy
    April 18, 2019 at 04:58

    Copied your exact code, using Microsoft Edge. nothing popped up.

  11. Boris Bagryanskiy
    April 18, 2019 at 04:58

    not another hindi fucker, good

  12. Hanna Reed
    April 18, 2019 at 04:58

    do you know how to do this with Electron? I can't find a good cookie tutorial to save and load cookies within Electron apps! I would really like to learn how to though…

  13. Rod's rules
    April 18, 2019 at 04:58

    Very helpful, and very easy to understand the concept. Thanks!.

  14. Angélica Guamán Albarracín
    April 18, 2019 at 04:58

    if you close web, are the cookies saved on the browser ?

  15. zirehnox
    April 18, 2019 at 04:58

    I dont know if this question has shown up and i might sound very much like a noob, but when you access the local storage, where exactly does the file end up with information?

  16. ҉K҉N҉I҉G҉H҉T҉F҉I҉R҉E҉6҉6҉
    April 18, 2019 at 04:58

    whats the alternative way to do this? maybe an easier way? like websitename.php.get(variablename)??!!?

  17. ҉K҉N҉I҉G҉H҉T҉F҉I҉R҉E҉6҉6҉
    April 18, 2019 at 04:58

    you know a script how to pass a whole table like that? for instance a table like this table = {total, rows[]} ?! all rows contain 3 var (name, amount, price)?

  18. Tayfun Turgut
    April 18, 2019 at 04:58

    In the save cookies, in order for the cookie to expire, you should add expires. E.g:
    cookieString = key + "=" + myCookies[key] + ";expires =" + expiresAttrib + ";";
    otherwise it won't work with the code you gave!

  19. Fahad Alghamdi
    April 18, 2019 at 04:58

    When I click on save to cookies, nothing appear, and when I click on load from cookies, it shows undefined for both of input texts

  20. Amador Designs
    April 18, 2019 at 04:58

    didn't know about local storage.interesting.

  21. Amador Designs
    April 18, 2019 at 04:58

    "you can't use cookies on local files on chrome " no wonder it doesn't fucking work!!!!

  22. Nicarr IDGAF
    April 18, 2019 at 04:58

    Superb videos man, keep it up! I learn so much from your videos and you explain so well.

  23. RuztyCSGO
    April 18, 2019 at 04:58

    wassup dude

Leave A Comment

You must be logged in to post a comment.