HTTP Cookies Crash Course

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ •

  • @vladyslavkarpenko9372
    @vladyslavkarpenko9372 2 роки тому +17

    Thank you Hussein🤝 Your one hour video is more valuable than a 100s of 5 min "I explain everything" kind of videos that flood the internet.

    • @hnasr
      @hnasr  2 роки тому +12

      Thank you ! While short videos are good to get an overview, they can’t cover the details of the topic which is often the most important thing to me I think

  • @praneetpushpal1410
    @praneetpushpal1410 4 роки тому +30

    First of all I would like to thank you for sharing your knowledge. This is my first ever comment on you tube. I could not resist myself.
    I have been watching your videos for the last 1 week. I have watched more than 20 videos of yours.
    The most important thing that I liked in this channel is the way you explain theoretical subjects using examples.
    You are a great teacher and doing such a great job. Please keep doing so.

    • @hnasr
      @hnasr  4 роки тому +5

      Thank you so much for taking the time to leave a comment I really appreciate it ! 🙏 glad the content is helpful ❤️
      I will!

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

      0:19

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

      🎉a😂😁🥹😄😀😁🥰😀😄😅😙😉🎉😂😂😂té
      0:19

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

      456790

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

      0:19

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

    I can not be so excited about cookies like this guy. So pleasant to hear you lection. Not boring at all! Perfect

  • @valencefredrick7495
    @valencefredrick7495 4 роки тому +36

    Much thanks to this man, he explains the concept of cookies clearly than I ever heard before! I really appreciate your knowledge sharing!

  • @asadjivani4074
    @asadjivani4074 3 роки тому +9

    Probably the best explanation available for cookies on the internet, kudos to you!

  • @sariksiddiqui6059
    @sariksiddiqui6059 4 роки тому +4

    Today it's my birthday and I am watching this at 12am.I had a long weekend and I spent the entirety of it watching your videos..Got to learn so much.Keep it up man.

    • @hnasr
      @hnasr  4 роки тому +4

      Happy Birthday 🎊🎈🎂 Enjoy your day celebrate and have fun and have fun with the content. Keep learning ❤️

  • @bobbycyy2462
    @bobbycyy2462 3 роки тому +6

    Hi Hussein, your videos and explanations are incredibly valuable and helpful. I am a year 3 cs undergrad and I find learning from you much more enjoyable than just sitting in the school lecture hall. Thank you for sharing your knowledge and putting in so much effort to make it engaging!

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

    Best explanation of cookies on UA-cam! You do such a great job explaining these things in a simple way and you are very entertaining to listen to.

  • @Rohitkumar-u1y6l
    @Rohitkumar-u1y6l 3 роки тому +3

    I've been following all your videos for quite some time and your the mentor that probably everyone needs. Great content as always.

  • @abishekbaiju1705
    @abishekbaiju1705 4 роки тому +24

    0:00 Intro
    4:15 Section 1 - Creating Cookies
    14:38 Section 2 - Cookie Properties
    44:00 Section 3 - Cookie Types
    1:02:00 Section 4 - Cookie Secuirty

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

    This playlist is awesome. Thanks Hussein. Your way of explaining is good, since long talks help convey importance (weight) of parts of the topics. It's harder to do this with short content. relevance ftw

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

    Best video I have ever seen explaining a deep dive into the topic of cookies. Kudos to you Hussein.

  • @ChiragRajputS
    @ChiragRajputS 5 років тому +38

    This wasn't boring at all.. loved it broo. Thanks☺

    • @hnasr
      @hnasr  5 років тому +4

      Chirag Rajput thank you so much for your comment really glad you liked it you made it until the end 😍

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

    I'm sure you channel is the only way that someone can learn these advanced stuff for free .. thanks a lot for sharing you're knowledge

  • @47shashank47
    @47shashank47 2 роки тому

    wow man for the last 10 days I am giving 1 hour to your videos. Your content is so amazing, really thanks a lot.

  • @tajpouria
    @tajpouria 4 роки тому +5

    Best explanation of cookies I seen so far on UA-cam Tanx a lot

  • @lamazlo21
    @lamazlo21 5 років тому +4

    These video have solved problems i had been struggling with for 2 days. Great job man

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

      Thanks Dawid! Glad I could help really appreciate you taking the time to comment ☺️

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

    Thanks Hussien you win the cookie challenge. Enjoyed every minute of the video keep them coming 🎉

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

    Just finished the whole video... not boring at all! I only knew how to use Local Storage and Sessions but cookies are not so easy. Thanks again, now I feel very comfortable using cookies.

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

      Thanks! Glad you like it. Funny I didn’t know about localStorage when I made this video

  • @avadh4056
    @avadh4056 2 роки тому +1

    your videos are not at all boring !!!! and we really want to learn

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

    "If you treat life like you know everything, you will not learn anything because you will always be arrogant and think of yourself as being above others. But if you treat things like everything is a new opportunity to learn, always accept it, its pretty cool how much you can learn."
    Couldn't agree with you more there compadre. 😎

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

    Great job on this! Thank you so much. Your delivery is perfect pace, informative, and fun, and I found this video on mundane topic to be very helpful.

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

    Hussien, really appreciate your efforts in teachng us this vast and quite complicated subject. Great job!! The only thing i couldn't really grasp from your explanation was the third-party cookie section, but that's ONE thing in over an hour long video which taught me tons more than i ever knew about this subject, not just about what cookies are but about properties/attributes that help secure your site, Etags, CORS and a client side database that i knew absolutely nothing about! I cant wait to start reading up on that! Your mentions have caused me to google these things and have found good articles which go in depth about them. There we're times i got bit frustrated with your explanations (just being honest) but i would be extremely ungrateful if i never left a sincere comment to say thanks. It's hard to find in depth videos that walk you through this subject on yt, so actually ... Kudos to you 👏 and you've got a new sub 😉

  • @vishalsrane
    @vishalsrane 2 роки тому +1

    Wow. I was searching for this kind of explanation for ever. Thank you :)

  • @moolipit
    @moolipit 4 роки тому +2

    Thanks for sharing this knowledge! Ive been watching your videos for the past week. Great job!

  • @gstoaldo
    @gstoaldo 2 роки тому +1

    Man, what an awesome video, very well explained. Everything is so much clearer now, thank you so much.

  • @prayasarora
    @prayasarora 5 років тому +9

    Thank you so much sir , i have had seen so many videos but this is like the real deal , final station . Though it is a little slow but its great .

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

      Thanks Prayas! yeah I'm working on speeding up my pace and getting to the point quicker, thanks for your comment

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

    I love how passionate you are Hussein Thanks .

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

    I don't know what the heck is with youtube, but this channel is over underrated

  • @pivotal-ai
    @pivotal-ai 4 роки тому +3

    Well done!
    I learned:
    An empty path defaults to /
    www.example.com is different than example.com (web server vs actual domain)
    Domain is set for subdomains by using .example.com syntax, the prefix dot species all subdomains
    Httponly makes so client scripts can't access the cookie.
    Third party cookies are those with SameSite=None, basically, can have cookie available across domains, good for ads or UA-cam widgets.
    Zombie cookies are cookies that don't die, once their cache policy expires, their ETag validation token will always be seen as valid and so a 304 Not Modified will always be returned. A deleted cookie will be quickly recreated.
    A cross site cookie can be exploited via cross site request forgery where the cookies are captured and sent to another domain via user accessing link on your site.

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

      Nice summary ! ☝️

  • @rezaghasemzadeh9440
    @rezaghasemzadeh9440 6 місяців тому

    one of the best tutorials about cookies, thank you

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

    Awesome video. I was trying to find a way to tech new interns web development concepts without scaring them away by immediately asking them to read IETF RFEs. They'll probably curse me while trying to understand the ABNF syntax lol. Your content is awesome.

  • @ushasr2821
    @ushasr2821 2 роки тому +1

    Hussein, you are awesome and the video content is great. Really thanks a lot.

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

    Love the video and quality of the content, hope to see the "sessions" topic cover!

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

    This is pure gold. Simple, information dense and amazing 😍

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

    By watching this vid, I became a better informed person - well done and thx!

  • @ronidey7100
    @ronidey7100 5 років тому +7

    Thank you sooo much man. I just signed in with three different accounts just to like this video😁😁😁

  • @000maestro000
    @000maestro000 5 років тому +3

    Great video ! no bs , to the point and technical, I was looking exactly for something like that.

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

      Dan Bomgard thanks Dan! Enjoy the content ☺️ let me know what can I make next.

  • @hey.............
    @hey............. Рік тому

    You are awesome man. Sharing all your knowledge for free.

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

    Your backend tutorial is far better than GOT 🐺
    Respect ++🙏

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

    Very unique and interesting style of teaching, thanks man.

  • @SohailKhan-cb9ls
    @SohailKhan-cb9ls 3 роки тому

    Thank you man. I didn't realize it was a 1hr video until you did mention in section 4 and I am writing this comment now. 😂

  • @송예은-h7b
    @송예은-h7b 2 роки тому

    I love this video!! This is the best video about cookies that I ever saw=) I'm so happy to find this one and thank you that you put your time on this video!! Thanks

  • @JatiIID
    @JatiIID 9 місяців тому +1

    49:47 For those waiting for the third-party cookie part in this video (just like me,) here it is! :P
    55:28 Zombie Cookies. Another super interesting part in this video.

  • @krishnakumar-rp9wc
    @krishnakumar-rp9wc 3 роки тому

    In love with your life lessons and talking

  • @erzloh
    @erzloh 4 місяці тому

    Thank you so much for these valuable videos man, it's so great!

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

    Hussein, you tha man. Love your sense of humour

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

    Way to go !! Your videos are very good with perfect examples and demo! Keep creating more videos!

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

      Appreciate it Manoj!! Thanks 😊

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

    It's just outstanding. You deserve more views.

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

    Loved this! Thanks so much for your strong passion and dedication!

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

    Wow wow wow what an excellent explanation! Thanks for all your effort!

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

    Awesome video man ! I am on binge of all your videos

  • @JatiIID
    @JatiIID 9 місяців тому +1

    32:28 I would say the life lesson in this video is the coolest part of this 1-hour video!!! :D

  • @adityamaheshwari3046
    @adityamaheshwari3046 2 роки тому +1

    52:47 When u are setting the cookie that is intended to be a third-party cookie, shouldn't samesite attribute be equal to "none" (and secure attribute too)??

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

    Hussein, really informative videos, First time hearing about indexeddb, etag.
    from India

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

    Thanks for the video! The explanations and demos helped me a lot.

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

    your channel is one of the best man.Useful content

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

      rakesh reddy thanks!!

  • @bihireboris3407
    @bihireboris3407 5 років тому +7

    thanks a lot for the knowledge, definitely needed that

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

      bihire boris thank you for watching! PWA is on my agenda :)

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

    The best video to understand cookies :D thanks a lot

  • @FahadKhan-qj3ej
    @FahadKhan-qj3ej 2 роки тому

    Thank you so much Hussein for content with such depth. It really helped me.

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

    both local storage and cookie are vulnerable with two different attacks. so for the security i want to generate jwt access token on each log in ,store the access token in local storage and the refresh token in cookie.

  • @alexsh.8080
    @alexsh.8080 4 роки тому

    What an awesome man you are Hussein! Cheers from Russia

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

      Wow, thanks! greetings to all subs from Russia

  • @code-den
    @code-den 3 роки тому

    The best cookie video i've watched

  • @РоманВоловик-з3д
    @РоманВоловик-з3д 4 роки тому +3

    Nice shot, man. Definitely 🖒. By the way, it was very easy to grasp the idea with your explanation 👏

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

    Great content. Made it till the end of the video . Thanks bro 😊.

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

    I love you man, thank you thank you thank you so much for creating this tutorial ♥️♥️♥️♥️♥️

  • @princekumar5235
    @princekumar5235 4 роки тому +2

    Thank you sir for the great video. One question sir, what will happen when samesite flag is none. Means we haven't set any any to it.

  • @JuanMunoz-th3vn
    @JuanMunoz-th3vn 5 років тому

    thanks Hussein for your videos, finally i could understand many concepts about cookies.

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

      Juan Muñoz thank you Juan! Glad I could help! Best of luck

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

    This was amazing. Thank you so much, Hussein!

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

    Even if i wont watch the whole video for some reason, youve got upvote for way ur speaking :)

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

      Mateusz Kubica made my day thanks buddy 😊 cheers

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

      Still watching and testing haha, cheers ✌🏻

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

    Can you please make a video for http request reponse header? Thanks.

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

    Amazing tutorial. Go on, you are the best.

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

    What a perfect explanation. Thanks

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

    Man you are so engaging! Love it!

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

    Awesome video, thank you!

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

    You are Awesome. Great content 🎉🙌🏼

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

    Thanks Hussein .... going over to etag and indexDB videos ...

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

    A great work mate! greetings from argentina, thank you so much, I'm learning web development and sometimes i need find this kind of interactive foundament stuff.

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

    I have an issue that the server is sending set-cookie , and the server is on its own route. Now the angular app is on a different route. The response has set-cookie but it’s not setting the cookie. I have the angular domain specified and it’s secure and http only is set. What else should I check?

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

    I think the main point is that cookies are used for session management, personalization, and tracking. It helps to understand in what cases we need them

  • @MarioLopez-eu8tj
    @MarioLopez-eu8tj Рік тому

    Is there a cookie type called hrp-tracking-disable ? If exist, what are the specific cookie names that would have ?

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

    Thanks man excellent stuff. Subscribed

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

    Now it's good anna, bit recovered

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

    please do a video like that on PWA

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

    Thank you! Very clear explanation.

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

    Great video. Also, I made it to the end. :D

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

    Yes I really wanna learn 😂...I watched the whole thing ❤️

  • @kirillzlobin7135
    @kirillzlobin7135 11 місяців тому

    Thank you for sharing your knowledge

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

    Best cookies video on yt...

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

    Hi thanks for this video , but having one query how do I set cookie cross domain express server running on 5000 and react app on 3000 ,

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

    Hello,
    Thankyou for the video. You solved the issue i was having for days. No where i was able to understand but now i know that i am not able to set cookie on my domain.
    I am currently using local host and the cookie is not getting set to is as i am using webapi to set cookie inside angular project. I tried adding the domain but it is not working.
    could there be anything wrong?
    Thanks a lot for the video

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

    Done ✔️ thanks for knowledge 🙏

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

    Hey, Hussein (or anyone for that matter) I couldn't help but notice that at the part when you steal cookies there are lots of cookies present in the application tab, but only one of them, the server-set one, seems to be forwarded to malicious page.
    Is it just because of document.cookies not being url-encoded or is there some other reason?

  • @prakashpotlapadu2493
    @prakashpotlapadu2493 4 місяці тому

    Thanks a lot. Awesome content!

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

    Thanks for this clear explanation video!

  • @ינוןאלבז-כ1ז
    @ינוןאלבז-כ1ז 4 роки тому

    I love you, very interesting topics

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

    Hello Friend.
    If i have cookies in my office pc and that i copy in my pendrive and then can i use that my office cookies in my home pc which will be from totaly diffrent Network please answer me..

  • @CuongNguyen-id6wh
    @CuongNguyen-id6wh 2 роки тому

    how you can run express server without command "npm install express"

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

    1:05:48 are you kidding me? no it WASN'T! make more of like this!

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

    Thanks so much for this demo - really well done subed

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

      glad you enjoyed the content Welcome to the community ❤️