Closed jeff13401769 closed 4 months ago
Did you resolve this? Your code seems to work fine for me. A few newer versions are released since this
Ah yes, you have set SESSION_REDIS = "REDIS" it should be "redis". Also the error message is misleading, because previously Flask-Session used a nullsession like Flask, and that was causing an error directly on flask that is completely misleading. This is now fixed from 0.7.0, with specific error.
In fact I might pass a .lower filter on the string to avoid this
Flask==2.3.2 Flask-Cors==4.0.0 Flask-Session==0.5.0 flask-redis==0.4.0 run on heroku and have use Heroku Data for Redis®*
here is my code, I have set secret key, but app reply me [RuntimeError: The session is unavailable because no secret key was set. Set the secret_key on the application to something unique and secret]