Skip to content

Multiple sessions at the same time #37

@NamesMT

Description

@NamesMT

Cookies are generally limited to 4KB per key, currently hono-session when used via cookies are impossible to use when user need to store a large-ish amount of data on it, like user info and multiple tokens from the auth provider's session manager.

A possible solve includes an option like sessionVarKey, which allows setting the session handler on a key different than session, then we can just call the middleware multiple times with different key I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions