Skip to content

Add support for SessionStore.touch #310

@segevfiner

Description

@segevfiner

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

express-session added a SessionStore.touch method that is used by session stores to reset session idle/last used times and avoiding having to update them at every session. Support this method the same way as supported by express-session when supported by the provided session store

Motivation

https://www.npmjs.com/package/connect-mongo#lazy-session-update

Example

https://www.npmjs.com/package/connect-mongo#lazy-session-update

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