No video

HTTP Cookies Crash Course

  Рет қаралды 121,970

Hussein Nasser

Hussein Nasser

Күн бұрын

Пікірлер: 201
@vladyslavkarpenko9372
@vladyslavkarpenko9372 2 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 9 ай бұрын
0:19
@HustlerNoss
@HustlerNoss 9 ай бұрын
🎉a😂😁🥹😄😀😁🥰😀😄😅😙😉🎉😂😂😂té 0:19
@HustlerNoss
@HustlerNoss 9 ай бұрын
456790
@HustlerNoss
@HustlerNoss 9 ай бұрын
0:19
@valencefredrick7495
@valencefredrick7495 4 жыл бұрын
Much thanks to this man, he explains the concept of cookies clearly than I ever heard before! I really appreciate your knowledge sharing!
@ARMALON87
@ARMALON87 3 жыл бұрын
I can not be so excited about cookies like this guy. So pleasant to hear you lection. Not boring at all! Perfect
@asadjivani4074
@asadjivani4074 3 жыл бұрын
Probably the best explanation available for cookies on the internet, kudos to you!
@bobbycyy2462
@bobbycyy2462 3 жыл бұрын
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!
@ChiragRajputS
@ChiragRajputS 5 жыл бұрын
This wasn't boring at all.. loved it broo. Thanks☺
@hnasr
@hnasr 5 жыл бұрын
Chirag Rajput thank you so much for your comment really glad you liked it you made it until the end 😍
@sariksiddiqui6059
@sariksiddiqui6059 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 жыл бұрын
Happy Birthday 🎊🎈🎂 Enjoy your day celebrate and have fun and have fun with the content. Keep learning ❤️
@Rohitkumar-u1y6l
@Rohitkumar-u1y6l 3 жыл бұрын
I've been following all your videos for quite some time and your the mentor that probably everyone needs. Great content as always.
@sanjarcode
@sanjarcode 11 ай бұрын
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
@jzepf
@jzepf 2 жыл бұрын
Best explanation of cookies on KZbin! You do such a great job explaining these things in a simple way and you are very entertaining to listen to.
@pivotal-ai
@pivotal-ai 4 жыл бұрын
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 KZbin 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 ! ☝️
@tajpouria
@tajpouria 4 жыл бұрын
Best explanation of cookies I seen so far on KZbin Tanx a lot
@codedynamics1
@codedynamics1 2 жыл бұрын
touche !
@prayasarora
@prayasarora 4 жыл бұрын
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 4 жыл бұрын
Thanks Prayas! yeah I'm working on speeding up my pace and getting to the point quicker, thanks for your comment
@GuitarreroDaniel
@GuitarreroDaniel 4 жыл бұрын
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
@section9999
@section9999 3 жыл бұрын
"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. 😎
@JatiIID
@JatiIID 6 ай бұрын
32:28 I would say the life lesson in this video is the coolest part of this 1-hour video!!! :D
@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
@codedynamics1
@codedynamics1 2 жыл бұрын
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 😉
@ushasr2821
@ushasr2821 2 жыл бұрын
Hussein, you are awesome and the video content is great. Really thanks a lot.
@hardikchavda1045
@hardikchavda1045 2 жыл бұрын
Best video I have ever seen explaining a deep dive into the topic of cookies. Kudos to you Hussein.
@lamazlo21
@lamazlo21 4 жыл бұрын
These video have solved problems i had been struggling with for 2 days. Great job man
@hnasr
@hnasr 4 жыл бұрын
Thanks Dawid! Glad I could help really appreciate you taking the time to comment ☺️
@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.
@avadh4056
@avadh4056 2 жыл бұрын
your videos are not at all boring !!!! and we really want to learn
@rezaghasemzadeh9440
@rezaghasemzadeh9440 2 ай бұрын
one of the best tutorials about cookies, thank you
@omarislearning3329
@omarislearning3329 3 жыл бұрын
Love the video and quality of the content, hope to see the "sessions" topic cover!
@ronidey7100
@ronidey7100 5 жыл бұрын
Thank you sooo much man. I just signed in with three different accounts just to like this video😁😁😁
@watsonshum
@watsonshum 5 жыл бұрын
😂😂😂😂😂
@user-ye8zh3ep7m
@user-ye8zh3ep7m 4 жыл бұрын
🖒🖒🖒
@janicethomas3592
@janicethomas3592 Жыл бұрын
Thanks Hussien you win the cookie challenge. Enjoyed every minute of the video keep them coming 🎉
@moolipit
@moolipit 3 жыл бұрын
Thanks for sharing this knowledge! Ive been watching your videos for the past week. Great job!
@ahmedboutaraa8771
@ahmedboutaraa8771 3 жыл бұрын
I don't know what the heck is with youtube, but this channel is over underrated
@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.
@JatiIID
@JatiIID 6 ай бұрын
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.
@gstoaldo
@gstoaldo 2 жыл бұрын
Man, what an awesome video, very well explained. Everything is so much clearer now, thank you so much.
@karankanojiya7672
@karankanojiya7672 3 жыл бұрын
Your backend tutorial is far better than GOT 🐺 Respect ++🙏
@vishalsrane
@vishalsrane 2 жыл бұрын
Wow. I was searching for this kind of explanation for ever. Thank you :)
@shashion
@shashion Жыл бұрын
I love how passionate you are Hussein Thanks .
@abishekbaiju1705
@abishekbaiju1705 3 жыл бұрын
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
@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.
@000maestro000
@000maestro000 4 жыл бұрын
Great video ! no bs , to the point and technical, I was looking exactly for something like that.
@hnasr
@hnasr 4 жыл бұрын
Dan Bomgard thanks Dan! Enjoy the content ☺️ let me know what can I make next.
@mrm4691
@mrm4691 2 жыл бұрын
Hussein, really informative videos, First time hearing about indexeddb, etag. from India
@rishabbanerjee5152
@rishabbanerjee5152 Жыл бұрын
This is pure gold. Simple, information dense and amazing 😍
@JordonDev
@JordonDev 2 жыл бұрын
Loved this! Thanks so much for your strong passion and dedication!
@SohailKhan-cb9ls
@SohailKhan-cb9ls 2 жыл бұрын
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. 😂
@jerrygeorge180
@jerrygeorge180 Жыл бұрын
Very unique and interesting style of teaching, thanks man.
@melanieburger6186
@melanieburger6186 5 ай бұрын
Thanks for the video! The explanations and demos helped me a lot.
@hey.............
@hey............. Жыл бұрын
You are awesome man. Sharing all your knowledge for free.
@empuraan4710
@empuraan4710 Жыл бұрын
Thanks Hussein .... going over to etag and indexDB videos ...
@adityamaheshwari3046
@adityamaheshwari3046 2 жыл бұрын
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)??
@bihireboris3407
@bihireboris3407 5 жыл бұрын
thanks a lot for the knowledge, definitely needed that
@hnasr
@hnasr 5 жыл бұрын
bihire boris thank you for watching! PWA is on my agenda :)
@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 😊
@krishnakumar-rp9wc
@krishnakumar-rp9wc 3 жыл бұрын
In love with your life lessons and talking
@KDOERAK
@KDOERAK 2 жыл бұрын
By watching this vid, I became a better informed person - well done and thx!
@erzloh
@erzloh Ай бұрын
Thank you so much for these valuable videos man, it's so great!
@olegpristashkin9078
@olegpristashkin9078 2 жыл бұрын
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
@bashar876
@bashar876 Жыл бұрын
Wow wow wow what an excellent explanation! Thanks for all your effort!
@user-dc7oj3el7o
@user-dc7oj3el7o 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
@FahadKhan-qj3ej
@FahadKhan-qj3ej 2 жыл бұрын
Thank you so much Hussein for content with such depth. It really helped me.
@goodboy8833
@goodboy8833 4 ай бұрын
Now it's good anna, bit recovered
@rick_from_yr
@rick_from_yr 3 жыл бұрын
The best video to understand cookies :D thanks a lot
@kambalavijay6800
@kambalavijay6800 3 жыл бұрын
It's just outstanding. You deserve more views.
@yadusolparterre
@yadusolparterre 3 жыл бұрын
Awesome video man ! I am on binge of all your videos
@DevAmirull
@DevAmirull Жыл бұрын
What a perfect explanation. Thanks
@fxstreamer238
@fxstreamer238 4 жыл бұрын
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.
@kirillzlobin7135
@kirillzlobin7135 7 ай бұрын
Thank you for sharing your knowledge
@princekumar5235
@princekumar5235 4 жыл бұрын
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.
@rakeshreddy3485
@rakeshreddy3485 4 жыл бұрын
your channel is one of the best man.Useful content
@hnasr
@hnasr 4 жыл бұрын
rakesh reddy thanks!!
@JuanMunoz-th3vn
@JuanMunoz-th3vn 5 жыл бұрын
thanks Hussein for your videos, finally i could understand many concepts about cookies.
@hnasr
@hnasr 5 жыл бұрын
Juan Muñoz thank you Juan! Glad I could help! Best of luck
@sarcaastech
@sarcaastech Жыл бұрын
Done ✔️ thanks for knowledge 🙏
@kubic22562
@kubic22562 4 жыл бұрын
Even if i wont watch the whole video for some reason, youve got upvote for way ur speaking :)
@hnasr
@hnasr 4 жыл бұрын
Mateusz Kubica made my day thanks buddy 😊 cheers
@kubic22562
@kubic22562 4 жыл бұрын
Still watching and testing haha, cheers ✌🏻
@TheSonicTooth
@TheSonicTooth 3 жыл бұрын
Hussein, you tha man. Love your sense of humour
@gurkaransingh449
@gurkaransingh449 3 жыл бұрын
1:05:48 are you kidding me? no it WASN'T! make more of like this!
@user-ye8zh3ep7m
@user-ye8zh3ep7m 4 жыл бұрын
Nice shot, man. Definitely 🖒. By the way, it was very easy to grasp the idea with your explanation 👏
@leonbenjamin7891
@leonbenjamin7891 3 жыл бұрын
Best cookies video on yt...
@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.
@HarshKapadia
@HarshKapadia 2 жыл бұрын
This was amazing. Thank you so much, Hussein!
@bihireboris3407
@bihireboris3407 5 жыл бұрын
please do a video like that on PWA
@Relax-ls1xi
@Relax-ls1xi 3 жыл бұрын
King of sessions..
@mohamedjasim3916
@mohamedjasim3916 Жыл бұрын
Amazing tutorial. Go on, you are the best.
@transcend1078
@transcend1078 Жыл бұрын
I love you man, thank you thank you thank you so much for creating this tutorial ♥️♥️♥️♥️♥️
@prakashpotlapadu2493
@prakashpotlapadu2493 25 күн бұрын
Thanks a lot. Awesome content!
@vishalsingh8758
@vishalsingh8758 3 жыл бұрын
Great content. Made it till the end of the video . Thanks bro 😊.
@drwombat
@drwombat 2 жыл бұрын
Thanks man excellent stuff. Subscribed
@nameerror0235
@nameerror0235 4 жыл бұрын
You are Awesome. Great content 🎉🙌🏼
@alhusseinashraf9167
@alhusseinashraf9167 Жыл бұрын
really great video and informative
@gilbertsenyonjo963
@gilbertsenyonjo963 2 жыл бұрын
thanks alot. I now know cookies very well
@alexsh.8080
@alexsh.8080 3 жыл бұрын
What an awesome man you are Hussein! Cheers from Russia
@hnasr
@hnasr 3 жыл бұрын
Wow, thanks! greetings to all subs from Russia
@MAT23154
@MAT23154 2 жыл бұрын
Thank you! Very clear explanation.
@hardikp5192
@hardikp5192 3 жыл бұрын
Yes I really wanna learn 😂...I watched the whole thing ❤️
@mitchell4217
@mitchell4217 4 жыл бұрын
Great video. UPDATE When accessing domain, you don't need to say domain=.example anymore, you just need the root. domain=example.com javascript.info/cookie developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie I tried it on example.com and this way works. Thanks for your video. I learned a lot.
@hnasr
@hnasr 4 жыл бұрын
Thanks Mitchell for sharing this tip! Didn’t know that 🙏👍
@code-den
@code-den 3 жыл бұрын
The best cookie video i've watched
@isrcast01
@isrcast01 3 жыл бұрын
Thanks for this clear explanation video!
@abdelrhmanahmed1378
@abdelrhmanahmed1378 3 жыл бұрын
great video as always , when i use path="/" instead of using domain="--" , it apply the cookies to all the domain subdomain ,is that leads to any issues?
@abdelrhmanahmed1378
@abdelrhmanahmed1378 3 жыл бұрын
another question when cookies get sent with each request ,say iam on ecommerce cite ,does it get compared each time in the server side ,and we we dont simply use the login authentication instead of coockies each time in the request ,response cycle
@sunjc826
@sunjc826 3 жыл бұрын
Man you are so engaging! Love it!
@wavecoders
@wavecoders 2 жыл бұрын
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?
@chinmaykulkarni2879
@chinmaykulkarni2879 2 жыл бұрын
Jonny dep teaching web dev concepts😁
@scotishdude
@scotishdude 3 жыл бұрын
Thanks so much for this demo - really well done subed
@hnasr
@hnasr 3 жыл бұрын
glad you enjoyed the content Welcome to the community ❤️
@Viet100
@Viet100 Жыл бұрын
Can you please make a video for http request reponse header? Thanks.
@user-dg8ys
@user-dg8ys Ай бұрын
thx bro! nice explanation.
@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
@richardjacksxn
@richardjacksxn 3 жыл бұрын
Awesome video, thank you!
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 7 МЛН
TCP vs UDP Crash Course
40:30
Hussein Nasser
Рет қаралды 136 М.
Cross Origin Resource Sharing (Explained by Example)
23:15
Hussein Nasser
Рет қаралды 155 М.
Web App Pentesting - HTTP Cookies & Sessions
34:31
HackerSploit
Рет қаралды 54 М.
WebSockets Crash Course - Handshake, Use-cases, Pros & Cons and more
47:33
How cookies can track you (Simply Explained)
6:51
Simply Explained
Рет қаралды 305 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 335 М.
Cookies, Sessions, JSON Web Tokens (JWT) and More 🍪🔐
46:41
LearnWebCode
Рет қаралды 105 М.
What are Third Party Cookies, How do they work?
16:28
Hussein Nasser
Рет қаралды 15 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 356 М.
Cookie Stealing - Computerphile
16:12
Computerphile
Рет қаралды 1,1 МЛН
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН