Sessions & Cookies

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 171

  • @blueballedtech
    @blueballedtech 7 років тому +115

    I understand session and cookies but clicked your video out of curiosity. Your breakdown and analogies are very effective in explaining the subject.

  • @ItsStevieMac
    @ItsStevieMac 7 років тому +30

    Sessions and Cookies are what makes the http protocol stateful! Very well put - thank you. I will remember this. Great video by the way.

    • @DaveXiang
      @DaveXiang  7 років тому +8

      I copied that phrase from a Rails guide somewhere. It's a good phrase, haha

  • @mrjamesprince
    @mrjamesprince 6 років тому +4

    I'm only about 2 minutes and and already found myself talking to the screen as if you were really here with me. Thank you very much for doing this video sir, your explanations in analogies are on point.

  • @olhamazur8993
    @olhamazur8993 6 років тому +10

    Thank you! This explanation is the clearest I 've ever seen!!!

  • @mayakharat9254
    @mayakharat9254 7 років тому +3

    I am clear on session and cookies now. I really like the way you explain the fundamentals with examples. keep going.

  • @anilarelli877
    @anilarelli877 5 років тому +1

    huge respect for breaking it down in simple words. SALUTE!!!

  • @reubenarinze4490
    @reubenarinze4490 3 роки тому

    This is the best explanation of cookies and sessions I have seen. Thank you Dave.

  • @mattzakiya2593
    @mattzakiya2593 6 років тому

    With that analogy, everything you have said about sessions and cookies are easy to understand. Thanks!

  • @buildervision7082
    @buildervision7082 3 роки тому

    Best explanation I've seen online

  • @SB-ew4ve
    @SB-ew4ve 3 роки тому

    man I was looking through UA-cam just to make sure I understood the logic but your video is amazing and now I'm certain!! thanks

  • @pakliksiu9539
    @pakliksiu9539 4 роки тому +1

    cleanest explanation !

  • @baleriontheblackdread6603
    @baleriontheblackdread6603 7 років тому

    The moment you starts make that analogy, that's when I pressed the like button. Thanks man.

  • @leozeng6696
    @leozeng6696 5 років тому +1

    Excellent work!!!!

  • @dturner73
    @dturner73 6 років тому +6

    Damn bro, good job! That explanation was outstanding...

  • @MrBlousambok
    @MrBlousambok 4 роки тому

    Awesome analogy and explanation

  • @wasimzaman674
    @wasimzaman674 10 місяців тому

    I really love your explanation and example.

  • @alittlecoding
    @alittlecoding 6 років тому +2

    wow. the video couldn't be better. it's just perfect. Thanks.

  • @saurabhmahra4084
    @saurabhmahra4084 3 роки тому

    Man the explanation was mind-blowing. Awesome video.

  • @aahmed4169
    @aahmed4169 4 роки тому

    I LOVE THE ANALOGY

  • @zippie95
    @zippie95 3 роки тому

    Wooooww good analogy. Easy to understand. Thank you!

  • @reimagne
    @reimagne 8 років тому +5

    Thanks! @Dave
    you've cleared all my doubts on basic understanding of sessions and cookies. BTW, the example you took is really cool! =D

  • @RC-bl2pm
    @RC-bl2pm 6 років тому

    Man was this ever helpful. First taste on this subject and I got buried in the Flask doc.s....now I see what the hell they're gonna do. ThanksDave!

  • @heyimanh
    @heyimanh 4 роки тому

    love the analogies you use in explaining things. subscribed!!!

  • @sreid70
    @sreid70 6 років тому

    Great analogy. I understand cookies and sessions now.

  • @feyyaznumancavlak2739
    @feyyaznumancavlak2739 3 роки тому

    Wow it's very cool. And Turkish subtitle is extremely native. ( Çok iyi çevirmişsin teşekkürler :) )

  • @TheGeorgeBandMusic
    @TheGeorgeBandMusic 6 років тому

    Theres nothing like a well explained analogy.

  • @NarendraKolink
    @NarendraKolink 6 років тому +2

    Really helpful video to understand cookies and sessions with real time example.
    Thank you.

  • @xuanxiaoyang5833
    @xuanxiaoyang5833 6 років тому +1

    crystal clear explanation, thanks.

  • @asmitakoirala2994
    @asmitakoirala2994 4 роки тому

    watching this made things so clear for me , Thanks Dave!

  • @GrgRocky2011
    @GrgRocky2011 2 роки тому

    The analogy makes perfect sense :). Thanks bro

  • @andrewkismali351
    @andrewkismali351 6 років тому +1

    OUTSTANDING EXPLANATION!!!!! Thank you!

  • @nikhilagrawal9217
    @nikhilagrawal9217 5 років тому

    Amazing analogy for the cookie

  • @CustomTies
    @CustomTies 6 років тому

    Dave your vids and explanations are the very best I have found. I am a middle aged guy trying to get a basic understanding of web applications so I can try to communicate with a developer to build an app concept i have. i have watched several of your vids , always good. tks

  • @kewartoscar8913
    @kewartoscar8913 Рік тому

    You explained it soo well. Thanks man.

  • @eliasayele1102
    @eliasayele1102 6 років тому +2

    love this best explanation

  • @yriih7371
    @yriih7371 Рік тому

    Hello. Thanks for the video. So as I understood sessions are like super cookies, which can store much more info compared with simple cookies?

  • @StyleTrick
    @StyleTrick 8 років тому +3

    Thank you Dave, these videos are really informative!

  • @RandomAlexus
    @RandomAlexus 4 роки тому +1

    Fantastic

  • @momoney1327
    @momoney1327 5 років тому

    You're brilliant man. Keep up the good work.

  • @MummasBoyRudransh
    @MummasBoyRudransh 5 років тому

    Great work👍

  • @VuDave
    @VuDave 2 роки тому

    Crystal Clear, thanks mate

  • @ronaldfungss
    @ronaldfungss 3 роки тому

    thanks for your amazing explanation!

  • @sakshinaik4152
    @sakshinaik4152 7 років тому

    Beautifully done. i actually did know what was session n cookie, but your video made the concepts so clear.

  • @BakarGames
    @BakarGames 3 роки тому

    if u understand this sentence then you nailed it to learn cookies and session... ""every HTTP request without cookies and session is stateless""

  • @quirkyquester
    @quirkyquester 4 роки тому

    I love ur analogy, Could u tell me what's a session in analogy? Thank you so much!

  • @joeporsche1767
    @joeporsche1767 5 років тому +1

    Very clear explanation. Thank you!.

  • @Caranthirn
    @Caranthirn 4 роки тому

    Best explanation bro. Thanks.

  • @polaris911
    @polaris911 6 років тому

    that was a way better explanation than obnoxious linus tech tips version

  • @neerajkulkarni6506
    @neerajkulkarni6506 4 роки тому

    Great explanation!

  • @sabaqasim3077
    @sabaqasim3077 7 років тому

    great work , really helpful , thanks dave , looking forward for more vids

  • @gomathirr2062
    @gomathirr2062 5 років тому

    best explanation!!!thanks alot!!! great analogies!!!very easy to understand!!!

  • @georgesngandeu9115
    @georgesngandeu9115 4 роки тому

    You are a god engineer, you know how to explain bro.....Just brillant

  • @JohnLeeWayne
    @JohnLeeWayne 5 років тому

    Dave, I heard various explanations attempts in my company to that topic for explaining it to people who are less interested in technology but using Starbucks as an analogy was great. If I explain that to a client the next time I will just use your explanation... Everyone should get that :D

  • @RichardCatto
    @RichardCatto 5 років тому +1

    sessions are temporary. once the web browser is closed, all sessions expire. cookies last until expiry date is reached. data on server (in database) is not a session. but a cookie can contain a clientID which has corresponding data in a database record (which is not a session). sessions persist between web pages for the time they user is on your domain. but when they exit, the session is closed.

  • @loujackson6415
    @loujackson6415 3 роки тому

    Excellent video, thanks 🙂

  • @annierpattz
    @annierpattz 6 років тому

    Loved the analogy

  • @michaelbelfast1
    @michaelbelfast1 5 років тому

    Excellent analogy! Thanks bud.

  • @vijays3047
    @vijays3047 6 років тому

    thnx man... u were more clear den my faculty members... thanx alot

  • @duyle-ui4ul
    @duyle-ui4ul 8 років тому +1

    can you make a video about internet layer and function of each layer. i still feel confuse about it

  • @rajputakash1
    @rajputakash1 5 років тому

    Really good example!!!

  • @bogdandemian8659
    @bogdandemian8659 6 років тому +1

    You've got a new subscriber. Great explanation in short time.

  • @19775021
    @19775021 3 роки тому

    Cool video man. Thank you.

  • @texturizer6224
    @texturizer6224 6 років тому +2

    You're doing God's work. Thank you sir!

  • @greenstar180
    @greenstar180 6 років тому

    a great video and the analogy was super useful

  • @vigneshm7462
    @vigneshm7462 4 роки тому

    cookies were sent to client to track the sessions of the client so that server storage space can be maintained but if we maintain sessions there what is the use of it ?

  • @lonwabomnyaiza2654
    @lonwabomnyaiza2654 8 років тому

    Dave, Question how do you structure your week. When do you work and when do you get you time?

  • @alyaistisafira6784
    @alyaistisafira6784 6 років тому

    best explanation ever

  • @artemislogic5252
    @artemislogic5252 5 років тому +2

    thank you very much, info was awesome, i now understand, subbed

  • @mikebhart
    @mikebhart 7 років тому

    A great explanation to the topic. I knew it before but this really helped me understand it better from a real life example. Cheers..

  • @Rudra-go6us
    @Rudra-go6us 3 роки тому

    excelent top class

  • @nikkm2000
    @nikkm2000 4 роки тому

    amazing explanation, thanks

  • @samhobbs2794
    @samhobbs2794 5 років тому

    Amazing explanation!

  • @oscararmandoguandique9220
    @oscararmandoguandique9220 4 роки тому

    thank you . well explaned !

  • @Phil-oj3wf
    @Phil-oj3wf 6 років тому +1

    Thank you for this Video it helped me very much to more understand the difference between sessions and cookies 😊👍

  • @KelvinWKiger
    @KelvinWKiger 6 років тому

    Thank you, excellent analogy!

  • @ashwagjan4532
    @ashwagjan4532 3 роки тому

    Thanks from my heart ❤️ ♥️ 💜 💙 , Finally I understood what are the difference.

  • @jksharma7
    @jksharma7 2 роки тому

    Very well analogy sir

  • @issarukayat5992
    @issarukayat5992 6 років тому

    I really enjoyed the detailed explanation. Thanks alot

  • @hadasg11
    @hadasg11 7 років тому

    great analogies! thanks for the video!

  • @achrafelkhandouli
    @achrafelkhandouli 5 років тому

    l like l how l watched this 3 years ago, and here l'm again refreshing the infos
    well explained btw, thanks

  • @dehsomething
    @dehsomething 5 років тому +1

    thank you, great explanation!

  • @durga8157
    @durga8157 6 років тому +1

    Thank you so much.
    Really it was very useful.

  • @dikshabhatia6052
    @dikshabhatia6052 7 років тому

    thanks a lot.
    explained the concept really well.

  • @stekl.h
    @stekl.h 6 років тому

    Awesome videos. Always easy to understand and informative. Thanks!

  • @leozeng6696
    @leozeng6696 5 років тому

    I give a like and I subscribe because of your goddamn amazing work.

  • @aarijamir5550
    @aarijamir5550 Рік тому

    Very good

  • @jackpitts5561
    @jackpitts5561 3 роки тому

    ok, but if you log in to Netflix today using your iPhone cookie, and tomorrow on your macbook using your macbook cookie, does Netflix store just ONE session ID for both of those? You should put up a diagram of how multiple cookies can relate to one session ID. Also, when can session ID be changed? Logouts? Suspect activity? etc.... More detail please.

  • @DANNYFIGDESIGNS
    @DANNYFIGDESIGNS 5 років тому

    So complicated, yet so simple. I appreciate your time in making this vid. They should've just called them "Cards". lol "Cookies" is cool though...

  • @cherryspodcast6983
    @cherryspodcast6983 8 років тому

    Great Explanation

  • @TheGuroguro12
    @TheGuroguro12 8 років тому +3

    thank you very much good analogy.

  • @dotsysdev4775
    @dotsysdev4775 7 років тому +6

    Thank you man very helpful !!

  • @sarupk
    @sarupk 6 років тому

    Thank you very much, it was very enlightening.

  • @katolus
    @katolus 6 років тому

    Cool video man!

  • @sajanjaiswal8582
    @sajanjaiswal8582 4 роки тому

    Thanks, man!

  • @redeemerkulimbwa6673
    @redeemerkulimbwa6673 2 роки тому

    Wow so clear

  • @markteffeteller4
    @markteffeteller4 6 років тому

    Good vid man, solid explanations.

  • @ifeoluwaking
    @ifeoluwaking 6 років тому

    Great explanation!! Thanks.

  • @shailzagupta7185
    @shailzagupta7185 6 років тому

    Sir, it might sound funny but I am a total noob when it comes to networking.
    My question is at 2:32 you said:
    Starbucks card is our identification on browser but it matches with "something " on Starbucks server , now what is this 'something' ?
    As there will be many cookies coming to the server at the same time.

    • @DaveXiang
      @DaveXiang  6 років тому

      Every request should be accompanied by a cookie, the identification. Think of Starbucks as just a huge server and can access some database once they see your cookie. Starbucks could be servicing millions of requests concurrently all with different cookies.

    • @shailzagupta7185
      @shailzagupta7185 6 років тому

      Sir, that means the cookies issued by the server to the browser are added to some sort of database and with every new request that the user makes , the cookie associated with the request is checked . If it matches then we are able to access further...is that so??

    • @bharathbarakam5702
      @bharathbarakam5702 6 років тому

      What you said is right, only thing being the cookies is always present in the client-side, which means it is issued by the browser to the server and not the other way around. And the 'something' that you were talking about, that was the session that is present on the server. The server would look up among all the sessions and pull the one which matches with the cookie.

  • @Molloy07
    @Molloy07 8 років тому

    Great explanation, your new filming location looks much better :)

  • @MrHumanwarrior
    @MrHumanwarrior 6 років тому

    Nice, understood it very well.