From 9e0290ae491241f2847b1ba695e83cc740824007 Mon Sep 17 00:00:00 2001 From: Markos Gogoulos Date: Sat, 31 Jan 2026 14:16:27 +0200 Subject: [PATCH] a --- cms/settings.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cms/settings.py b/cms/settings.py index 6410b9bd..43e264e4 100644 --- a/cms/settings.py +++ b/cms/settings.py @@ -665,6 +665,5 @@ if USE_LTI: SESSION_COOKIE_SECURE = True CSRF_COOKIE_SAMESITE = 'None' CSRF_COOKIE_SECURE = True - SESSION_ENGINE = "django.contrib.sessions.backends.cached_db" -# 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" + # Consider using cached_db for reliability if sessions are lost between many LTI launches