Every time React sends request to Express, a new session is generated
问题 I use React as a client to send request to Express with proxy and express-session set up. But every time React makes a request to Express server, a new session is created. So I checked Express alone by manually accessing to the same api url and it keep using the same session each time I refresh the page. Project structure: project-folder - client // React client with proxy set up + src + package.json + ... - server.js - package.json Inside server.js : const session = require('express-session'