Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a session value with a timeout value with a redis session handler #409

Open
piraz opened this issue Apr 18, 2022 · 1 comment
Open
Assignees
Labels
Milestone

Comments

@piraz
Copy link
Contributor

piraz commented Apr 18, 2022

Setting a session key/value withe the timeout parameter in the kwargs will be processed by the redis session handler by setting the key/value in the database and setting the ttl as the provided timeout parameter.

We need #408 implemented to provide this feature.

@piraz
Copy link
Contributor Author

piraz commented Apr 20, 2022

This task is more complex than just setting a ttl in a set command, the session is stored is encoded and added to a value in the redis database.

I think we can do that for all session handlers(even for file) using a callback.

@piraz piraz modified the milestones: firenado 0.3.0, Backlog May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant