Session engine in Django

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Abhays
    New Member
    • Apr 2019
    • 4

    Session engine in Django

    How i can configure session engine in Django through File based sessions?
  • animeshagrawal
    New Member
    • Apr 2019
    • 3

    #2
    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

    Working...