What are cookies and how to use them in a Nodejs Express application

  Рет қаралды 22,740

Mafia Codes

Mafia Codes

3 жыл бұрын

In this video, you will learn what are #cookies and how to use them in a #Nodejs #express application. All the attributes of cookies are also explained, i.e. #maxAge, #expires, #httpOnly #cookie , #secure cookie, etc.
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/get-kite/?...
FREE $100 credit @Digital Ocean: m.do.co/c/3208f08b3324
Subscribe: kzfaq.info...
Support the channel:
Paypal: www.paypal.me/trulymittal
Patreon: / trulymittal
Github (full-tutorial): github.com/trulymittal/cookie...
---------------
Other useful Playlists
---------------
#RestAPI (#NodeJS and MongoDB): • REST API using NodeJS ...
#API Authentication using #JWT: • NodeJS API Authenticat...
#Firebase: • Firebase | Build a Not...
Docker: • Docker
MongoDB: • Learn MongoDB in 50 mi...
Html/Css/Js: • HTML / CSS / JS
Android: • Android
Challenges: • Challenges
---------------
What I use
---------------
Mouse: amzn.to/2O9RJtu
Keyboard: amzn.to/2qxajCU
Keyboard 2: amzn.to/2XDWH4X
Monitor: amzn.to/2pDg7dH
Processor: amzn.to/347WWIb
RAM: amzn.to/2QEkUqw
Graphics: amzn.to/33aBrF4
Microphone: amzn.to/2DabdI9
#StayHome #WithMe #yoursTRULY #tutorial #howto #android

Пікірлер: 41
@devolopeagae5411
@devolopeagae5411 Жыл бұрын
man why cant others teach like you, you were so fast, so concise but i understood everything so quickly. thanks a lot for the explaination.
@ramiworkstation
@ramiworkstation 10 сағат бұрын
Thank you ❤
@akhilaravindakshan420
@akhilaravindakshan420 2 жыл бұрын
This is so amazing. You should make more video. Amount of things I learn from your videos are a lot.
@kashiknight3937
@kashiknight3937 Жыл бұрын
there are tow diffirent modules we are using in this video, creator only mentioned one which is cookie-parser to parse incoming cookies, but res.cookie() is not part of the cookie-parser module, it is part of cookie module which is i think express js using under the hood as middleware already.
@saikrishnapataballa
@saikrishnapataballa 9 ай бұрын
Thank you for your clarification
@usama_khalid
@usama_khalid 3 жыл бұрын
your videos are 'THE BEST'
@amanaggarwal5884
@amanaggarwal5884 2 жыл бұрын
Learnt a lot from your tutorial ❤️
@BlurryBit
@BlurryBit 3 жыл бұрын
2 British users came here thinking it was about Biscuits.
@linhtranbao849
@linhtranbao849 Жыл бұрын
thanks you bro. It is very helpful for me
@anejasahil
@anejasahil Жыл бұрын
Your explanation is Great and to the point ✨
@mafiacodes
@mafiacodes Жыл бұрын
Thank you! 😃
@nurhamsah_tech
@nurhamsah_tech Жыл бұрын
great tutorial, thanks man
@oluwarotimiadeola1997
@oluwarotimiadeola1997 5 ай бұрын
Thank you very much for this tutorial
@jainilpatel7776
@jainilpatel7776 2 жыл бұрын
great explanation
@aliadel1723
@aliadel1723 Жыл бұрын
open the captions ♥
@vinaykaithwas2973
@vinaykaithwas2973 2 жыл бұрын
That called tutorial. THanks man
@sunilpoojari91
@sunilpoojari91 10 ай бұрын
Very good explanation!! 👏👏
@MuhammadAnzil-qk8tx
@MuhammadAnzil-qk8tx Жыл бұрын
great presentation
@ibrahimjomaa6548
@ibrahimjomaa6548 2 жыл бұрын
you best one give good tutoruils
@user-wo4bk2gq7y
@user-wo4bk2gq7y 5 ай бұрын
bro, i got scared when she popped up from nowhere 💀💀
@evanralphvale
@evanralphvale Жыл бұрын
thanks bro! new sub here
@aungmyat5497
@aungmyat5497 3 жыл бұрын
i cannot set cooke in react app but postman can get cookie. How can i do that?
@souravpanja2183
@souravpanja2183 2 жыл бұрын
Can i create cookie in POST method
@sadimohammad7338
@sadimohammad7338 5 ай бұрын
bro how to set cookie on normal javascript? Without nodejs
@alphagam3r933
@alphagam3r933 Жыл бұрын
bro what is this font styles ?
@arunaditya2655
@arunaditya2655 3 жыл бұрын
sir, is the firebase dynamic link service is completely free of a lifetime or paid? if not can we implement a sharing app and share the product of the app using the "app link " feature of android ?? what is the industry standard way to implement share app and share product of e-commerce app?? sir, as I am a college student and I am doing an internship in a small startup company. Which technology should I use to implement a sharing app and share product features?
@arunaditya6784
@arunaditya6784 3 жыл бұрын
Sir what is the industry approach to add share product feature in e-commerce android app So that when another user will click on the app they will open the app in same page
@mafiacodes
@mafiacodes 3 жыл бұрын
Firebase dynamic links
@tarun8101
@tarun8101 Жыл бұрын
How to set cookie to react app which is running on diffrent domain ?
@theboycool01
@theboycool01 Жыл бұрын
Hello, could you find the solution? I have the same problem :/
@TaprobanaOrg
@TaprobanaOrg Жыл бұрын
💙💙
@zedshockblade7157
@zedshockblade7157 3 жыл бұрын
You can see the cookie using document.cookie right? what is the purpose of HttpOnly if you can still see the value of the cookie in Application in dev tools?
@mafiacodes
@mafiacodes 3 жыл бұрын
No you cannot see an HttpOnly cookie via document.cookie
@zedshockblade7157
@zedshockblade7157 3 жыл бұрын
@@mafiacodes I mean here, 14:06 the HttpOnly is check but you can see the value of the cookie which is "bar"
@mafiacodes
@mafiacodes 3 жыл бұрын
Yeah that’s coming from cookie storage, if u do document.cookie in console then u won’t be able to read it.
@tteshka8784
@tteshka8784 3 жыл бұрын
Hi which vscode theme are you using?
@mafiacodes
@mafiacodes 3 жыл бұрын
Snazzy operator
@tteshka8784
@tteshka8784 3 жыл бұрын
@@mafiacodes Thank you)
@arunaditya2655
@arunaditya2655 3 жыл бұрын
is comment section Hua kya ????🤦‍♂️🤦‍♂️🤦‍♂️
@omoregbeekhator4517
@omoregbeekhator4517 3 жыл бұрын
could you please made a node js express role based api authentication with mongoose
@envplayz
@envplayz Жыл бұрын
goofy gifs
Learn how to do caching in NodeJS using Redis
24:34
Mafia Codes
Рет қаралды 33 М.
What are Cookies in NodeJS?
30:35
Piyush Garg
Рет қаралды 52 М.
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 210 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
How to generate and use a SSL certificate in NodeJS
13:59
Mafia Codes
Рет қаралды 106 М.
How to prevent a DDoS attack (or a Brute-force attack)
14:11
Mafia Codes
Рет қаралды 28 М.
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 609 М.
How to create a child process in nodejs (exec, execFile and spawn)
13:39
How to send email using Gmail API (uses OAuth2 and nodemailer)
17:55
Learn Express Middleware In 14 Minutes
14:48
Web Dev Simplified
Рет қаралды 392 М.
How to use Multithreading with "worker threads" in Node.js?
19:34
Software Developer Diaries
Рет қаралды 55 М.
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 210 МЛН