Several records with same session
pzoli opened this issue · 0 comments
pzoli commented
I use connect-mongodb-session for storing session data in MongoDB. I made a React client to fetch GET and POST data from and to the express server. Question is how to store session correctly in MongoDB?
My problem is with session storing in multiple times while I see same sessionid and connect.sid. Several new UserSessions record created in each get request. Please see youtube screencast: https://youtu.be/jO_M-ezXAjM
Please see more information in the following URL:
https://stackoverflow.com/questions/76140650/connect-mongodb-session-store-multiple-sessions