How i can configure session engine in Django through File based sessions?
Session engine in Django
Collapse
X
-
For using file-based sessions, you have to set the setting of SESSION_ENGINE to django.contib.s essions.backend s.file
You will also have to make sure that your web server has permissions to read and write the directory of the session file.
There are 3 more ways to configure session engine in Django; Database-backed sessions, Cached sessions, and Cookie-based sessions.
Comment