1 - Where is the cookie from express.cookieSession () stored? Server or client side?
A cookie is sent for responses from the server, and the browser sends this cookie with each request.
2 - Does express.cookieSession () allow multiple servers working behind a load balancer?
Yes, if you use a general store (e.g. RedisStore)
3 - Is it possible for the user to manipulate session data when using the express.cookieSession () function?
Not if you use signed cookies (by default for session cookies in express, when you provide a secret when initializing a session.
var redis = require('redis').createClient(); app.use(express.session({ secret: "some random string", store: new RedisStore({client: redis}) }));
source share