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
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.
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!
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.
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
"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. 😎
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 TH-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.
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.
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.
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 😉
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.
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
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
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.
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.
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)??
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.
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
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?
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
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.
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
Much thanks to this man, he explains the concept of cookies clearly than I ever heard before! I really appreciate your knowledge sharing!
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.
Thank you so much for taking the time to leave a comment I really appreciate it ! 🙏 glad the content is helpful ❤️
I will!
0:19
🎉a😂😁🥹😄😀😁🥰😀😄😅😙😉🎉😂😂😂té
0:19
456790
0:19
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!
I can not be so excited about cookies like this guy. So pleasant to hear you lection. Not boring at all! Perfect
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.
Happy Birthday 🎊🎈🎂 Enjoy your day celebrate and have fun and have fun with the content. Keep learning ❤️
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
Best explanation of cookies on TH-cam! You do such a great job explaining these things in a simple way and you are very entertaining to listen to.
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
Probably the best explanation available for cookies on the internet, kudos to you!
I've been following all your videos for quite some time and your the mentor that probably everyone needs. Great content as always.
"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. 😎
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 TH-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.
Nice summary ! ☝️
I don't know what the heck is with youtube, but this channel is over underrated
Best video I have ever seen explaining a deep dive into the topic of cookies. Kudos to you Hussein.
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
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.
Thanks! Glad you like it. Funny I didn’t know about localStorage when I made this video
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.
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 😉
Your backend tutorial is far better than GOT 🐺
Respect ++🙏
Thanks Hussien you win the cookie challenge. Enjoyed every minute of the video keep them coming 🎉
wow man for the last 10 days I am giving 1 hour to your videos. Your content is so amazing, really thanks a lot.
This wasn't boring at all.. loved it broo. Thanks☺
Chirag Rajput thank you so much for your comment really glad you liked it you made it until the end 😍
Love the video and quality of the content, hope to see the "sessions" topic cover!
your videos are not at all boring !!!! and we really want to learn
Thanks for sharing this knowledge! Ive been watching your videos for the past week. Great job!
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.
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.
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 .
Thanks Prayas! yeah I'm working on speeding up my pace and getting to the point quicker, thanks for your comment
I love how passionate you are Hussein Thanks .
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
These video have solved problems i had been struggling with for 2 days. Great job man
Thanks Dawid! Glad I could help really appreciate you taking the time to comment ☺️
Very unique and interesting style of teaching, thanks man.
Hussein, really informative videos, First time hearing about indexeddb, etag.
from India
Great video ! no bs , to the point and technical, I was looking exactly for something like that.
Dan Bomgard thanks Dan! Enjoy the content ☺️ let me know what can I make next.
32:28 I would say the life lesson in this video is the coolest part of this 1-hour video!!! :D
Best explanation of cookies I seen so far on TH-cam Tanx a lot
touche !
Hussein, you are awesome and the video content is great. Really thanks a lot.
Man, what an awesome video, very well explained. Everything is so much clearer now, thank you so much.
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. 😂
Thank you sooo much man. I just signed in with three different accounts just to like this video😁😁😁
😂😂😂😂😂
🖒🖒🖒
This is pure gold. Simple, information dense and amazing 😍
In love with your life lessons and talking
one of the best tutorials about cookies, thank you
Way to go !! Your videos are very good with perfect examples and demo! Keep creating more videos!
Appreciate it Manoj!! Thanks 😊
By watching this vid, I became a better informed person - well done and thx!
Thanks Hussein .... going over to etag and indexDB videos ...
Wow. I was searching for this kind of explanation for ever. Thank you :)
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
Loved this! Thanks so much for your strong passion and dedication!
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.
Thanks for the video! The explanations and demos helped me a lot.
Thank you so much for these valuable videos man, it's so great!
Wow wow wow what an excellent explanation! Thanks for all your effort!
Now it's good anna, bit recovered
1:05:48 are you kidding me? no it WASN'T! make more of like this!
You are awesome man. Sharing all your knowledge for free.
Thank you so much Hussein for content with such depth. It really helped me.
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.
Nice shot, man. Definitely 🖒. By the way, it was very easy to grasp the idea with your explanation 👏
Even if i wont watch the whole video for some reason, youve got upvote for way ur speaking :)
Mateusz Kubica made my day thanks buddy 😊 cheers
Still watching and testing haha, cheers ✌🏻
It's just outstanding. You deserve more views.
Hussein, you tha man. Love your sense of humour
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.
Awesome video man ! I am on binge of all your videos
please do a video like that on PWA
thanks a lot for the knowledge, definitely needed that
bihire boris thank you for watching! PWA is on my agenda :)
thanks Hussein for your videos, finally i could understand many concepts about cookies.
Juan Muñoz thank you Juan! Glad I could help! Best of luck
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)??
The best video to understand cookies :D thanks a lot
This was amazing. Thank you so much, Hussein!
What an awesome man you are Hussein! Cheers from Russia
Wow, thanks! greetings to all subs from Russia
your channel is one of the best man.Useful content
rakesh reddy thanks!!
I love you man, thank you thank you thank you so much for creating this tutorial ♥️♥️♥️♥️♥️
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.
Thanks Mitchell for sharing this tip! Didn’t know that 🙏👍
Done ✔️ thanks for knowledge 🙏
Thank you for sharing your knowledge
What a perfect explanation. Thanks
Can you please make a video for http request reponse header? Thanks.
Yes I really wanna learn 😂...I watched the whole thing ❤️
Great content. Made it till the end of the video . Thanks bro 😊.
Amazing tutorial. Go on, you are the best.
The best cookie video i've watched
Jonny dep teaching web dev concepts😁
thanks alot. I now know cookies very well
After hearing "Cookies" for countless times now I wanna eat cookies
Now I'm craving cookies too
Thanks man excellent stuff. Subscribed
You are Awesome. Great content 🎉🙌🏼
really great video and informative
Thanks for this clear explanation video!
Thank you! Very clear explanation.
King of sessions..
Thanks a lot. Awesome content!
Man you are so engaging! Love it!
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
Best cookies video on yt...
Thanks so much for this demo - really well done subed
glad you enjoyed the content Welcome to the community ❤️
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?
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
Thank you Hussein
Great & cool course!