-1

In django for expire a session after closing a browser where we need to type SESSION_EXPIRE_AT_BROWSER_CLOSE this in which file??

Akshat Zala
  • 710
  • 1
  • 8
  • 23
Adil Ijaz
  • 312
  • 1
  • 5
  • 16

1 Answers1

1

In settings.py file

Please read the documentation of How to use sessions:

  1. https://docs.djangoproject.com/en/3.0/topics/http/sessions/

  2. https://docs.djangoproject.com/en/3.0/ref/settings/#std:setting-SESSION_EXPIRE_AT_BROWSER_CLOSE

Akshat Zala
  • 710
  • 1
  • 8
  • 23