Skip to content

Sessions aren't correctly stored #3

Closed
@yoshuawuyts

Description

@yoshuawuyts

Each request we make creates a new session id entry in the database. It seems we're probably doing something wrong. The result is that the counter isn't updated and we keep opening new sessions.

Related issues: #1, http-rs/async-session#10, http-rs/tide#664

cc/ @lrlna

Repro

  1. Clone mongodb-session-example tide#664
  2. cargo run --example session

Screenshot

Screenshot 2020-07-28 13 59 21

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