Skip to main content

Server-side session components.

Project description

http_session is the foundation of a session management system. The provided prototypes allow implementations using a wide array of backends.

http_session relies on three components:

The “store” prototyped in http_session.meta.Store represents a store handling sessions. This store knows how to retrieve, persist, clear or create sessions, using their SID.

The “session” implemented in http_session.session.Session represents the session iself. It is discriminated by its sid and is able to set and get key/value pairs and track the modifications and accesses.

The “manager” oversees the store and session, in order to interface them with the browser. It is mainly used as a SID policy and middleware. A functional implementation using secure cookies is provided in http_session.cookie.SignedCookieManager.

Changelog

0.2 (2021-11-08)

  • Invalid time signature now trigger the generation of a new cookie.

0.1 (2021-11-08)

  • Fork-evolution from cromlech.session

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

http_session-0.2.tar.gz (9.7 kB view details)

Uploaded Source

File details

Details for the file http_session-0.2.tar.gz.

File metadata

  • Download URL: http_session-0.2.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for http_session-0.2.tar.gz
Algorithm Hash digest
SHA256 3c661914c419b05f3a82b73ea046243325fe3e75f6b1a69a9bf2902af741dbe0
MD5 bf9ee426c47e1fba3c4cde2c54748281
BLAKE2b-256 536c98f929685724b4f53b197d6d3240c8a22c1ea8cd5cd5e0841cdcfe08bc92

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page