[Fixed]-PythonAnywhere How to handle multiple "web workers" or processes

1👍

Each web worker is a separate process. They do not have access to variables set in another worker. Each request could go to any worker so there is no guarantee that you’d be using the file name that was set for a particular user. If you need to transfer information between requests, you need to store it outside of the worker’s memory – you could do that in a cookie, or in a database or a file.

👤Glenn

Leave a comment