Socket
Socket
Sign inDemoInstall

http-session

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-session

Server-side session components.


Maintainers
1

http-session


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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc