Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Several records with same session #109

@pzoli

Description

@pzoli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions