[Fixed]-Apache Django webpage is not saving values for long period of time

1👍

Do not do that. Constants are ok, but global variables cannot guarantee consistency across threads. Not that you cannot do this, but you need to be very careful and know what you are doing.

For this functionality, use session variables or the cache instead.

👤Wtower

Leave a comment