Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mbr/flask-kvsession
A drop-in replacement for Flask's session handling using server-side sessions.
https://github.com/mbr/flask-kvsession
Last synced: 13 days ago
JSON representation
A drop-in replacement for Flask's session handling using server-side sessions.
- Host: GitHub
- URL: https://github.com/mbr/flask-kvsession
- Owner: mbr
- License: mit
- Created: 2011-07-05T13:41:32.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2019-11-21T19:15:21.000Z (almost 5 years ago)
- Last Synced: 2024-09-19T00:13:31.331Z (about 2 months ago)
- Language: Python
- Homepage: http://pythonhosted.org/Flask-KVSession/
- Size: 516 KB
- Stars: 168
- Watchers: 13
- Forks: 53
- Open Issues: 15
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Flask-KVSession
===============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
`_.