Skip to content

suggestion: add functions to load and store data in user's current session #291

@skybrian

Description

@skybrian

Site sessions are stored in KV under site_sessions and currently have no value; they are just set to true. Typical apps will have their own session object. They may want to store it in KV too.

It's easy enough to store this under a separate key. However, this results in an extra round trip to KV on every request, and there are two records to delete when the user logs out. So it might be nice to add a way to store load and store custom data in the user's current session.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions