Express JS #12 - Cookies

  Рет қаралды 4,465

Anson the Developer

Anson the Developer

5 ай бұрын

Watch the full tutorial here: • Express JS Full Course
Code Repository: github.com/stuyy/expressjs-fu...
Support the Channel:
Become a Member: kzbin.info...
Become a Patreon: / stuyy
Buy me a Coffee: ko-fi.com/anson
Donate on Streamlabs: streamlabs.com/ansondevacadem...
Donate on PayPal: paypal.me/ansonfoong
Connect with me:
Twitter: / ansonthedev
Discord: / discord
GitHub: github.com/stuyy
Twitch: / stuy

Пікірлер: 11
@user-qe7xn9vv2o
@user-qe7xn9vv2o Ай бұрын
My takeaway 1) cookies are small piece of data that contains small information. 2) And it is set by the server and sent to the client, the client has to include the cookies upon subsequent request. 3) the cookie returned is in string format. And we’ll like it in JSON so we use cookieparser middleware. 4) cookie-parser middleware is useful for parsing cookies. To JSON format.
@FirstJoker-ft2pb
@FirstJoker-ft2pb Ай бұрын
Good
@zqgAFf
@zqgAFf 5 ай бұрын
Hi I do have a question about your video I saw complete express courses, and I also saw those individual topic-based courses. But the complete one is older than the individual section. So would u please tell me the difference on contents
@ansonthedev
@ansonthedev 5 ай бұрын
There is no difference. This video is just a section of what you see in the 8 hour video. I decided to split up the 8 hour video into its own sections and put them in a playlist making it easier for those who just care about a specific topic rather than skim through the 8 hour video.
@josephkoh1562
@josephkoh1562 5 ай бұрын
can i use localstorage instead of cookie?
@ansonthedev
@ansonthedev 5 ай бұрын
yes, but browser does not send stuff from local storage automatically even when withCredentials is set to true. You will need to manually send the data from local storage to the server.
@three-zeros
@three-zeros 3 ай бұрын
Umm... I have a question: cookies will be deprecated and turned off in the Q2-Q3 of 2024 by Google, so can you use something else except them?
@ansonthedev
@ansonthedev 3 ай бұрын
Local Storage with JWT.
@three-zeros
@three-zeros 3 ай бұрын
@@ansonthedev oh, got you
@abdul.rawi215
@abdul.rawi215 Ай бұрын
as far as i understood google will only be removing third party cookies which means cookies created and accessed by the same website will still be there
@raphaelokenyi2138
@raphaelokenyi2138 Ай бұрын
Ive been trying to set cookies from my express backend.. the cookies show in postman when testing, but it doesnt show in the browser.. how can i fix this please
Express JS #13 - Sessions Pt. 1
16:30
Anson the Developer
Рет қаралды 8 М.
Express JS #15 - Passport.js Authentication
37:41
Anson the Developer
Рет қаралды 11 М.
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 4 МЛН
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 61 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 56 МЛН
Astro makes websites faster & easier to build
22:55
Kevin Powell
Рет қаралды 118 М.
Risc-V Bare Metal C Hello World!
21:37
Chuck's Tech Talk
Рет қаралды 2,5 М.
Express JS #9 - Middleware
21:42
Anson the Developer
Рет қаралды 5 М.
Fetch, CORS, and Cookies
37:44
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 21 М.
Express JS #11 - Routers
19:13
Anson the Developer
Рет қаралды 3,6 М.
Svelte 5's Secret Weapon: Classes + Context
18:14
Huntabyte
Рет қаралды 14 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 119 М.
ExpressJS Tutorial #5 - Cookies
11:04
Anson the Developer
Рет қаралды 38 М.
Footballers Crazy Water Pool Challenge 🌊
0:27
Football Life
Рет қаралды 25 МЛН
ГЕНИАЛЬНОЕ РЕШЕНИЕ (@fusterdeltiktok - TikTok)
0:18
В ТРЕНДЕ
Рет қаралды 5 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
0:28
路飞与唐舞桐
Рет қаралды 32 МЛН
архив.. Северные Дачи Угледара 23..
0:15
Виталик
Рет қаралды 13 МЛН