Wednesday, May 1, 2019

Re: Django session

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.

Learn the whole concept of Django sessions with Django sessions tutorial.

On Wednesday, May 1, 2019 at 4:50:40 PM UTC+5:30, Aakash Bachheriya wrote:
How i can configure session engine in Django through File based sessions?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/eff9aae3-d9e2-4566-820b-89f16bcc84cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment