Closed BenjamenMeyer closed 8 years ago
Confirmed that the session survives the WSGI call. However, the global dict is not truly global - it's limited to the workers (at least under gunicorn). It may be necessary to add an optional class used to create the global data hold consisting of:
uwsgi
and gevent
Looking at gunicorn
there doesn't seem any documentation on how to do have cross-worker communications. Contacting them on IRC via #gunicorn
.
PR #12 fixes the duplicate '/' in the location url
PR #13 fixes the location URL issue; however, the issue of sessions between multiple workers still needs to be worked out.
Documenting for uwsgi
and gunicorn
as supporting a single worker only until this issue is resolved.
Issues:
http://localhost/
versushttp://localhost:8081
)