pallets-eco / flask-session

Server side session extension for Flask
https://flask-session.readthedocs.io
BSD 3-Clause "New" or "Revised" License
507 stars 238 forks source link

Session not saving #143

Closed chronosirius closed 8 months ago

chronosirius commented 2 years ago

I am storing a session in a websocket event but then when I try to use it again in an HTTP request it is empty. I printed out the sessions in the websocket and the subsequent HTTP request. After filling the session and printing it, it is a dictionary, but in the http request, it is <FileSystemSession {}> I linked an image. I am using Windows. It seems to store with http requests but not websocket ones.

image
Lxstr commented 8 months ago

Do you have a minimum reproducable example I can try? When I use websockets it stores the session fine

Lxstr commented 8 months ago

Closing due to not reproduceable