From 472b3029c4467e487f36ba93c70303ec12b3eb8b Mon Sep 17 00:00:00 2001 From: Markos Gogoulos Date: Thu, 29 Jan 2026 15:58:07 +0200 Subject: [PATCH] wtv --- cms/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cms/settings.py b/cms/settings.py index 686092a6..19bb8438 100644 --- a/cms/settings.py +++ b/cms/settings.py @@ -416,7 +416,9 @@ CACHES = { } } -SESSION_ENGINE = "django.contrib.sessions.backends.cache" +# Use cached_db for reliability - stores in both cache AND database +# This prevents session loss during multiple simultaneous LTI launches +SESSION_ENGINE = "django.contrib.sessions.backends.cached_db" SESSION_CACHE_ALIAS = "default" # CELERY STUFF