Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Spread large sessions over multiple cookies #147

@daniel-ac-martin

Description

@daniel-ac-martin

It would be nice if slightly larger sessions were supported. (I'm only just bumping against the limit.)

The limit of course being the size of a single cookie. (https://tools.ietf.org/html/rfc6265#section-6.1)

It occurs to me that larger sessions could be supported by inspecting the size of the encrypted payload and spreading it over as many cookies as are required.

There would still need to be limits of course but checking this would also allow for helpful error messages. (At the moment the browser will. typically. just silently ignore the cookie.)

It might also be nice to compress the data prior to encrypting.

Also, is this library still maintained? Are PRs welcome? Would they be welcome for the sorts of features I've described above?

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