Skip to content

Commit c84af05

Browse files
authored
docs: explain default session expiration (#36126)
1 parent ee6575c commit c84af05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

openedx/core/djangoapps/session_inactivity_timeout/middleware.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
SESSION_INACTIVITY_TIMEOUT_IN_SECS = 300
88
99
This was taken from StackOverflow (http://stackoverflow.com/questions/14830669/how-to-expire-django-session-in-5minutes)
10+
11+
If left unset, session expiration will be handled by Django's SESSION_COOKIE_AGE,
12+
which defauts to 1209600 (2 weeks, in seconds).
1013
"""
1114

1215

0 commit comments

Comments
 (0)