Python Forum
Session engine in Django - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Session engine in Django (/thread-17960.html)



Session engine in Django - karansingh - May-01-2019

How i can configure session engine in Django through File based sessions?


RE: Session engine in Django - animeshagrawal28 - May-02-2019

By using file-based sessions, you will have to set the setting of SESSION_ENGINE to django.contib.sessions.backends.file

You will also have to check 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.