How can i use cookie to keep socket.io session alive after refresh?
Hope you are all doing well.
So I’m building MERN chat app, and i’m using httpOnly cookie
to store refresh jsonwebtoken
(it is also stored in the MongoDB).
Access token is stored in REDUX store.