Skip to main content

Transparent server-side session support for flask

Project description

Flask-KVSession is an MIT-licensed server-side session replacement for Flask’s signed client-based session management. Instead of storing data on the client, only a securely generated ID is stored on the client, while the actual session data resides on the server.

This has two major advantages:

  • Clients no longer see the session information

  • It is possible to securely destroy sessions to protect against replay attacks.

Other things are possible with server side session that are impossible with clients side sessions, like inspecting and manipulating data in absence of the client.

Flask-KVSession uses the simplekv-package for storing session data on a variety of backends, including redis, memcached, SQL databases using SQLAlchemy, mongoDB or just flat files.

Integration with Flask is seamless, once the extension is loaded for a Flask application, it transparently replaces Flask’s own Session management. Any application working with sessions should work the same with Flask-KVSession (if it does not, file a bug!).

Documentation and development

Development happens on github, you can find the documentation on PyPI.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Flask_KVSession_Ext-0.6.3.dev1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file Flask_KVSession_Ext-0.6.3.dev1-py3-none-any.whl.

File metadata

  • Download URL: Flask_KVSession_Ext-0.6.3.dev1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.6

File hashes

Hashes for Flask_KVSession_Ext-0.6.3.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca80b734533aa8885feee987c16bc4098b9dc02ea26365dde88b602e7e7c0832
MD5 49e3d2c2abdc3ba0328337c3a25db912
BLAKE2b-256 dc8dfe8e9f4631109a226c1ba690b243d22a9ff4ff562183b305e792b3b155fa

See more details on using hashes here.

Supported by

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