flask-session2
flask-session2 copied to clipboard
Server side session extension for Flask
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [abatilo/actions-poetry](https://togithub.com/abatilo/actions-poetry) | action | major | `v2` -> `v3` | --- ### Release...
pypi project: https://pypi.org/project/flask-session2/ homepage: https://github.com/christopherpickering/flask-session2
First of all, thanks for providing a maintained alternative to the `flask-session` project :+1: This P.R is a proposal for _type hinting_ this project. I've currently only added type hints...
It seems only permanent sessions (SESSION_PERMANENT=True) are supported for redis. Looking at the implementation: ```python if session.permanent: value = self.serializer.dumps(dict(session)) self.redis.setex( name=self.key_prefix + session.sid, value=value, time=total_seconds(app.permanent_session_lifetime), ) ``` This is...
- [x] I've searched the [issues](https://github.com/christopherpickering/flask-session2/issues) ## Feature Request I wonder if there's a simple enough way to invalidate/revoke existing sessions. This is especially useful for when a user changes...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [black](https://togithub.com/psf/black) ([changelog](https://togithub.com/psf/black/blob/main/CHANGES.md)) | `^23.0.0` -> `^24.0.0` | [](https://docs.renovatebot.com/merge-confidence/) |...