Express JS #12 - Cookies

  Рет қаралды 10,658

Anson the Developer

Anson the Developer

Күн бұрын

Пікірлер: 21
@Olderaccount17
@Olderaccount17 3 ай бұрын
3 minutes in and I'm already *dying* for a platter of cookies.
@MeihaJensen
@MeihaJensen 7 ай бұрын
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.
@Mono6lade
@Mono6lade 7 ай бұрын
Good
@aqbgaming7656
@aqbgaming7656 12 күн бұрын
@@Mono6lade Client automatically send the cookies back to server, you dont need to include it manually.
@GabrielYasso-og7zc
@GabrielYasso-og7zc 26 күн бұрын
amazing. thank you.
@zqgAFf
@zqgAFf 11 ай бұрын
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 11 ай бұрын
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.
@xfactorbangs5821
@xfactorbangs5821 5 ай бұрын
Are you using the intelliSence for code Auto completion?,if not please reccomend what you are using .
@imsotoxd
@imsotoxd 3 ай бұрын
what is this font? :D
@tochimclaren
@tochimclaren 2 ай бұрын
What's the point of signed cookies.
@durubhuru
@durubhuru Ай бұрын
Imagine you're, at a party and you receive a VIP wristband to signal your presence there; this wristband bears a code crafted exclusively by the host himself/herself - if anyone attempts to create a counterfeit band or switch yours with theirs the mismatch in the code will reveal the ruse, to the host. Signed cookies operate in a manner by incorporating a code (signature) linked to the data that only the server can generate authentically. If an individual attempts to alter or forge the data in any way the signature will not align properly. The server can promptly detect any manipulation attempts. It serves as a method to confirm that the information being transmitted or received remains unaltered.
@josephkoh1562
@josephkoh1562 11 ай бұрын
can i use localstorage instead of cookie?
@ansonthedev
@ansonthedev 11 ай бұрын
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 9 ай бұрын
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 9 ай бұрын
Local Storage with JWT.
@three-zeros
@three-zeros 9 ай бұрын
@@ansonthedev oh, got you
@abdul.rawi215
@abdul.rawi215 7 ай бұрын
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 7 ай бұрын
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
@anthonymedina4535
@anthonymedina4535 5 ай бұрын
​​@@raphaelokenyi2138i have the same problem, finally, you solved it?
Express JS #13 - Sessions Pt. 1
16:30
Anson the Developer
Рет қаралды 16 М.
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Avoid Database Cascade Deletes and Default Values - Here’s Why
4:59
Why you can't set cookies in Server Components
10:58
Ryan Toronto
Рет қаралды 11 М.
Arenas, strings and Scuffed Templates in C
12:28
VoxelRifts
Рет қаралды 101 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 1,3 МЛН
Express JS #9 - Middleware
21:42
Anson the Developer
Рет қаралды 11 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 359 М.
Express JS #15 - Passport.js Authentication
37:41
Anson the Developer
Рет қаралды 24 М.
C++ Super Optimization: 1000X Faster
15:33
Dave's Garage
Рет қаралды 333 М.
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН