Local Storage vs Session Storage vs Cookie | Javascript Interview Q&A

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • Friends here i am with another video which is about local storage vs session storage vs cookies javascript. In this I have explained javascript localstorage, javascript sessionstorage and javascript cookies along with local storage functions, session storage functions and cookie function in javascript.
    I hope you get a good understanding from this video. If you like it please like and share it and do let me know your feedback in the comment section. Stay tuned and happy learning.. :)
    Good Luck,
    Sofia Goyal
    If you like my work you can support me and buy me a coffee at:
    buy.stripe.com...
    Closures in Javascript:
    • Closures In Javascript...
    Introduction to Promises:
    • Promises In Javascript...
    Event Loop Tutorial
    • Event Loop Javascript ...
    React interview questions series:
    • React Interview Questi...
    Javascript interview questions series:
    • Javascript Interview Q...
    - If you are looking for resume making tips, please checkout :
    • How to Make a Resume |...
    - If you are willing to become a web developer, check this out :
    • How to become a Web De...
    - For other interview tips and job change tips:
    • how to get job during ...
    • how to prepare for an ...
    • interview tips and tec...
    I will keep making these tutorials and will try to put my best into this so that i can provide you with the most relevant content.
    Please keep supporting and if you like it please share with your friends.
    Stay Connected:
    Linkedin : / sofia-goyal
    Facebook : / sofigoyal14
    Instagram : / sofi_goyal
    Twitter : / sofiagoyal14
    local storage javascript
    local storage js
    local storage
    local storage vs session storage
    local storage vs cookies
    local storage vs session storage vs cookies
    local storage vs session storage vs cookies javascript
    local storage vs session storage example
    cookies in javascript
    javascript localstorage
    javascript cookies
    javascript cookies example
    javascript cookies for beginners
    javascript cookies vs local storage vs session
    javascript cookies delete
    javascript cookies tutorial
    javascript cookies expires
    javascript cookies and session
    javascript cookies clear
    how to use localstorage in javascript
    how to use localstorage in js
    local storage functions
    session storage functions
    cookie function
    cookie function in javascript
    javascript tutorial
    javascript tutorial for beginners in hindi
    javascript tutorial for beginners
    javascript interview questions and answers
    javascript interview questions and answers for experienced
    javascript interview questions and answers in hindi
    javascript interview preparation
    js interview questions and answers for experienced
    js interview questions in hindi
    js interview coding questions
    js interview questions and answers
    js interview questions for experienced
    #javascript #closure #javascripttutorial #sofiagoyal

Комментарии • 17

  • @SA-oj3bo
    @SA-oj3bo Год назад

    I can imagine many usecases for cookies, but none for localstorage or sessionstorage. What are typical usecases for localstorage and sessionstorage? Grtz.

    • @SofiaGoyal
      @SofiaGoyal  Год назад +1

      Good question-
      Local storage is to store session for web specific stuff, if you have something specific to web then you should use local storage only as it has comparatively more space also. eg if the site has multiple languages then we can store your preferred language in localstorage.
      Session storage use case is like if you are filling a form on a page and you don’t want to loose the data that the user has filled so far on refresh, then you can go for session storage.

  • @mdmuntaziransari7259
    @mdmuntaziransari7259 Год назад +1

    very informative video, Thanks for making this🙏

  • @466sunny
    @466sunny Год назад

    Hello Sofia, Your videos are very much helpful please make more videos

    • @SofiaGoyal
      @SofiaGoyal  Год назад

      Sure, will try to create more, thanks

    • @466sunny
      @466sunny Год назад

      @@SofiaGoyal thanks big fan 👍

  • @rajivraghu9857
    @rajivraghu9857 Год назад

    Nicely explained

  • @shivanandvishwakarma8550
    @shivanandvishwakarma8550 2 года назад

    very nice and explanatory video 🙏

  • @jibanjyotinayak9359
    @jibanjyotinayak9359 Год назад

    it is very helpful....i just wan to know what you are using for autosaving the app without using nodemon or any packages uninstalled...

    • @SofiaGoyal
      @SofiaGoyal  Год назад

      I am running it in vscode, which has a live server extension

  • @jilluvlog2616
    @jilluvlog2616 Год назад

    sprbb mam

  • @arunkaiser
    @arunkaiser 2 года назад +1

    Hi Sofia I gave u a connection request in linkedin, pls confirm it

  • @soumyaranjan6946
    @soumyaranjan6946 Год назад

    I checked my flipkart in incognito & without login, I found nothing in cookies while item in cart.

    • @SofiaGoyal
      @SofiaGoyal  6 месяцев назад +1

      you won't see those items in the cookies, but they are storing that in someway in the cookies, may be just the item id, because cookies do not have enough space to store the whole item data

  • @respectgmechager8054
    @respectgmechager8054 2 года назад

    Mam,Please make tutorial in hinglish