HTTP Headers and Cookies

Поділитися
Вставка
  • Опубліковано 5 лип 2024
  • This video is part of the Passport JS User Authentication Series. To view the entire series as a playlist, click the link below:
    • Course: Passport JS Us...
    This series has two Github repositories associated with it. Click the below links to view the code you see in the video.
    github.com/zachgoll/express-s...
    github.com/zachgoll/express-j...
    +++
    👉 Subscribe to my email list - lists.zachgollwitzer.com
    🎓 My Courses - courses.zachgollwitzer.com
    📗 One of my favorite programming books - geni.us/code-complete
    _______________________________________________________________
    💻 My Gear
    ________________________________________________________________
    👍🏼 Software Development Essentials:
    Dual LG Monitors - geni.us/lg-monitor
    Bose QC35s - geni.us/bose-qc35
    Monitor Arm - geni.us/monitor-arm
    Mechanical Keyboard - geni.us/mechanical-keyboard
    Logitech Bluetooth Mouse - geni.us/logitech-mouse
    🖱 Premium Software I Use
    Adobe CC (Premiere Pro, Photoshop, etc.) - geni.us/adobe-cc
    Tubebuddy - geni.us/youtube-tools
    🎥 My Filming Gear and Tools
    Camera - geni.us/canon-6d-markii
    Main Lens - geni.us/canon-16-35-lens
    Fluid Head Tripod - geni.us/neewer-tripod
    Adjustable Lights (x2) - geni.us/raleno-lights
    📗 My Favorite Programming Books
    Code Complete - geni.us/code-complete
    Code: The Hidden Language... - geni.us/code-book
    Head First Design Patterns - geni.us/head-first-design
    Head First OOP - geni.us/head-first-oop
    The Elements of Computing Systems - geni.us/nand-2-tetris
    The Phoenix Project - geni.us/phoenix-project
    _______________________________________________________________
    👉 Connect With Me:
    _______________________________________________________________
    Dev: dev.to/zachgoll
    Twitter: / zg_dev
    LinkedIn: / zachgollwitzer
    Website: www.zachgollwitzer.com
    Medium: / zach.gollwitzer
    Github: github.com/zachgoll
    _______________________________________________________________
    +++
    Table of Contents
    0:00 Intro
    0:23 What is an HTTP Header?
    4:30 The request header
    7:15 The Set-Cookie Header
    15:15 The expires property of a Cookie
    #webcookies #http #webdevelopment
  • Наука та технологія

КОМЕНТАРІ • 129

  • @zachgoll
    @zachgoll  3 роки тому +42

    Comment below if you're about to eat a real cookie after this video

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

      @Abraham Zaiden ?

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

      @Abraham Zaiden why so people can download and get hacked? or visit the website and get hacked lol

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

      Definetly thinking about it.

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

      lolll

    • @user-fi1uh1sy6u
      @user-fi1uh1sy6u 4 місяці тому

      0:14

  • @sanilkhurana3991
    @sanilkhurana3991 4 роки тому +3

    Honestly, amazing series! No idea why I haven't seen your videos before. I knew the concepts before watching but your explanation and hands-on was helpful in understanding it in more in-depth.

  • @dawid_dahl
    @dawid_dahl 4 роки тому +19

    So happy I found this series. Thank you for making it! 🙌🏻

  • @JustPassingByHere
    @JustPassingByHere Рік тому +1

    Amazing work!! I love this series. The way you are able to take seemingly complicated topics and break them down into simple terms is invaluable. Please keep it coming!

  • @nbryson2010
    @nbryson2010 2 роки тому +3

    This is a fantastic series. You're a great instructor and I'm looking forward to finishing the entire playlist. Thumbs up!

  • @tinoy6969696969
    @tinoy6969696969 3 роки тому +2

    Very happy that google put this in my recommended videos, very technical and straight to the point and helpful, thank you for this series!

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

    You rock mister! WOW - there's a course on passport.js on Pluralsight and it doesn't hold a candle to your series!!! Thank you so much for taking the time to create this series!!!!!

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

    All I can say is thank you! Other videos and tuts I’ve watched jump straight into the code and implementation and dismiss the concepts. Great video and series!

  • @usmanshah5862
    @usmanshah5862 3 роки тому +2

    Yes, you are getting a like on every video on this playlist. This list is so useful for every web developer. You seem to care about giving every minute detail to your viewers. God bless you.

  • @AniketKumar-kj4ew
    @AniketKumar-kj4ew 4 роки тому

    I am so happy that UA-cam recommended me this. Great series! Subscribed!

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

    I don't remember how UA-cam send me here but you are an enlightenment Zach! thank you for this serie! Keep up the good work

  • @chamnil8666
    @chamnil8666 3 роки тому +1

    You are doing a super great job.Thank you so much for making these series.

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

    Exactly what I wanted to know. So glad I found your video. Excellent video, well explained!

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

    Your explanation is brilliant, I clearly understood the use of cookies. Thank you so much!

  • @1bcx
    @1bcx 2 місяці тому

    The worst thing about this video is it is finished. Thank you so much, from The Odin Project (:

  • @axelmonroy4782
    @axelmonroy4782 Рік тому +1

    I looooooove this video! Clear explanation, well defined core concepts, very helpful. Thank you very much for this video, I will have some cookies!

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

    This is GOLD! Thank you so much for doing it!!

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

    Finally understanding the process. Thanks so much!

  • @ahmedmouad344
    @ahmedmouad344 9 місяців тому

    The best video that any beginner could listen to. Thank you so much

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

    Man, this explanation is just brilliant! Thank you very much!

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

    It's an awesome explanation of HTTP headers. Thank you very much for this explanation.

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

    This is the best cookie practice video. Thank you

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

    Best video out there about cookies...thank you so much

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

    You are my hero. :D Have a good time, master!

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

    Thank you very much for making this series. its very helpful :)

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

    Loved the way you explained so perfectly.

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

    Your explanation is the best!

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

    Damn, I'm addicted to your videos .

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

    Another good explanation. I never really knew how that worked.

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

    I just allow my ad-blocker to have ads on this channel to support your good work.

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

    Thank you very much! very structured and clearly explained!- subscribed

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

    this video has been really helpful for me, thank you !!

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

    Best thing I’ve seen on this topic

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

    Amazing detailed explanation. Thanks man!!!

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

    This is a great video. Thanks @Zavh Gollwitzer

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

    You have saved my life and will be a big reason I get a high paying Web Dev job. I was so lost until I found this playlist.

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

    Great explanation and examples! Thank you!

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

    Just found your Channel, Loved the Content ❤

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

    Amazing video, rigth what i needed.

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

    Your explanation is brilliant

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

    You are a genius, I encourage you to continue 👍👍🖤

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

    Really clear, thank you Zach

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

    Great method to teach. It was really easy to follow up and learn from this video, thanks.

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

    Such an amazing explanation!!

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

    very good, concise explanation.

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

    You're an amazing teacher!!!

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

    This was a simple and great explanation. Thanks

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

    Awesome explanation. Thanks!

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

    Very Clear explanation!

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

    You are excellent at explaining this

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

    This is well explained tutorial. Thanks for making it.

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

    Thanks so much, great video!

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

    Great job dude!

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

    Thank you so much for the great explanation

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

    Thank you for the detailed explanation

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

    I always wondered what the hell a cookie is. Your way of teaching is so amazing. Bruhhh you are a wonderful teacher. Keep up the good work. I will recommend your channel to other people who wanna learn about it

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

    Am gratefull for your efforts in sharing such knowledge... Thank you so much....🤓🤓🤓

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

    Thank You very much, Sir 🤍

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

    This series is very helpful.. Thanks alot

  • @ernestogarcia5762
    @ernestogarcia5762 8 місяців тому

    Thats amazing keep it up

  • @Lysiak.Yevhenii
    @Lysiak.Yevhenii Рік тому

    Thanks ! Very helpful !

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

    this is fantastic :)

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

    Thank you for the explaination

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

    Great work! Thank u so much. I didn't watched all parts (but I will), but what about security issues with jwt? Would love to hear your opinion on that.

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

    Nice job!

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

    Nicely explained thanks!

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

    Topper! Thx man!

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

    great explanation!

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

    Best explanation ever

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

    Subed!... Good content... You really understand in-depth... thanks alot!!

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

    outstanding!

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

    Thanks for this video!!!!!!!!

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

    THIS IS GEM

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

    Nice clear explanation.

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

    Great channel!

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

    thank you Zach

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

    Very clear!

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

    This was good thank you

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

    amazing really amazing !!!!!!

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

    This is very helpful, thank you. Sounds like http headers are similar to sdp in sip

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

    excellent!

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

    Thank you so much!

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

    Very helpful.

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

    I was enjoying..

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

    BEST STUFF!!!

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

    Thank you alot :)

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

    Thank you! :)

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

    Nice explanation! But I'm confused, why did refreshing twice show the 1P jar cookie? Shouldn't it have been there on the first reload?

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

    amazing vid thx

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

    Subscribed

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

    what if i copy somone else's login cookies from his/her browser and try to access authenticated webpages using those cookies , will i be allowed ? I think i will , right?

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

    what is difference between the 'get' method and 'post' method ?

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

    How was it that after all the Google cookies were deleted, then the next request headers contained a cookie value? Shouldn't that have been empty if they had just been deleted and not set by the response yet?

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

    Nice

  • @SP-xb9dv
    @SP-xb9dv 3 роки тому

    Sir pls help me.
    if i have any premium account and i have logged in chrome browser in any RDP. Then how to can i extract cookiee and set in client browser through javascript so that my all friends can enjoy premium subscription without login. Thankyou

  • @verygood5377
    @verygood5377 3 роки тому +2

    Great tutorial, thank you Zach !! At 10:34, you cleared up all the cookies and then refreshed the browser. How Google knew you had signed in ? I thought all cookies were already erased and no more authenticated info was stored.

    • @zachgoll
      @zachgoll  3 роки тому +1

      There are other ways that web apps authenticate users. Cookies is one of them, but apps can also use the localStorage object to save session IDs and other authentication related info.

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

      @@zachgoll Thanks Zach

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

    Nice explanation, but i think it is 50% mentioned, can you please show us which cookie we should capture and pass with new request so we never have problem with that dynamic cookies
    can you mention how to capture those cookies ? is that from from Response I guess rt? How do we take parameter variable and make script work in Loadrunner? Any idea Please?

  • @robbievocals4735
    @robbievocals4735 3 роки тому +1

    Thanks for the great explanation!
    I have a question though, why does google send you a different cookie when you refresh the 2nd time?
    I see that our request header uses the first cookie received from the response header.
    So again I am curious about why google sends a new cookie in the response header.

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

      Would you mind adding the timestamp where this came up in the video?

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

      @@zachgoll In 13:00 , the request header cookie is set to N1D=195=nZN... after the refresh but in 13:27 , we can see that google again had sent a different cookie(N1D=195=gle0v...) in the response.
      Thank you for replying!!!

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

      ​@@robbievocals4735 Ahhh gotcha. I'm guessing what happened here is I had deleted the cookie and refreshed my browser in between screen recordings. Every time you delete the cookie and refresh the browser, Google will regenerate a new one.

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

    thankuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu

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

    great