问题 I'm using Django and Redis as session engine (also Celery, but that is something else). It works perfectly and I can see an improvement in speed. SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db' I have a script that runs every minute to check the active users through some methods and if the user hasn't been active in the latest minute, then the session gets removed. This is done for customer's tracking needs. This script was working perfectly until I switched to Redis as a