By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,483 Members | 3,312 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,483 IT Pros & Developers. It's quick & easy.

Session engine in Django

P: 4
How i can configure session engine in Django through File based sessions?
May 1 '19 #1
Share this Question
Share on Google+
1 Reply


P: 3
For using file-based sessions, you have to set the setting of SESSION_ENGINE to django.contib.sessions.backends.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.
May 1 '19 #2

Post your reply

Sign in to post your reply or Sign up for a free account.