Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Provide possibility for stateless storage #17

Open
valiafetisov opened this issue Nov 3, 2022 · 0 comments
Open

Provide possibility for stateless storage #17

valiafetisov opened this issue Nov 3, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@valiafetisov
Copy link

Describe the feature

Currently we store sessions on the server, but the is a known pattern to encrypt the data and store it on the client, removing a requirement for state preservation whatsoever. Possible implementation of this approach is vvo/iron-session (originally referenced in #15.

Known problems with this approach:

  • Storage size (cookie is limited to 4096 bytes)
  • Migrations/remote clearing of session

We should evaluate this approach and propose technical solution.
From my perspective it's a good candidate for the driver option (e.g. driver: 'stateless')

Additional information

No response

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant