Express JS #14 - Sessions Pt. 2

preview_player
Показать описание


Support the Channel:

Connect with me:

Рекомендации по теме
Комментарии
Автор

Your hands-on course about Express.js is really helpful and has greatly improved my understanding of its core concepts and practical applications.

DongyangLi-lm
Автор

I honestly love ur tutorials but what really catches my eye is style and look of ur editor.
I hope u wouldn't mind sharing your theme and font for ur code editor especially for the parameters of routes being provided by each route u make since I really like the handwriting font.
Thanks and have a good one.

David-meld
Автор

Do you get new session id every time you login with the same user in the same client?

a_k__
Автор

how to set session with current time server?

bimbim
Автор

I'm so confuse with the way of saving the product on cart with session, because it has an expiration or if doesn't have expiration, if you will logging in on new browser it will have a new session so the product on the cart it will wipe out?

igmtink
Автор

I got so many things. Really helpfull. Thanks. I got all of that but I cant figure this out so really felt have to ask that: If sessions live in server, and we decide that which sessions belongs to which user by looking up to the cookie which got brought to us via user, why we get sessions from request object? I mean, does not request object holds the information about person who requests our server? Then why we got that from request object, (while request object holds data which lives on the client side) instead of the memory on the server which holds the sessions? if we got session like this, i wouldnt mind at all: sessionStorage.get(request.cookies.sessionId, (err, sessionData) = { ... }). But we got session from request object. But it does not live on the request object or client side. Why this information (session information) attacted to request object which holds information about person who requests to our server? Same thing is valid for sessionStorage, (at 11:07) why it is attached to request object? It lives on server, not on the client of the person who requests. I got confused about that. I cant really figure this out.

Apologies for my english. Thanks.

Prag
Автор

He confused me a simple concept the logic and its flow 😅😅😅

watchandenjoy