Skip to content

ParseServer does not delete Session object on logout #346

Description

@guidesanti

I have noticed that the behavior of hosted Parse is to create a new Session object when a user login and delete this object when this user logout from the same device.
When I tested the ParseServer version instead of the hosted Parse I noticed that this behavior is different, the Session object is created on login as expected, but on logout the object is not deleted, so if the user keeps logging in and logging out there will be as many Session objects on DB as the number of times the user login and logout.
Is this the expected behavior or is it a bug on ParseServer?

Activity

  1. added
    type:bugImpaired feature or lacking behavior that is likely assumed
    on Feb 10, 2016
  2. gfosco commented on Feb 10, 2016

    @gfosco
    Contributor

    This is a bug which will be fixed by #254.

  3. gfosco commented on Feb 11, 2016

    @gfosco
    Contributor

    Merged fix and this will be in 2.0.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions