-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expire the django session #1029
Comments
Focus on doing the browser close expiration for this release. |
I did some research on this
|
There's also this library that looks a little more updated that django-session-timeout |
I did some testing around
We might need to think alternative approach like https://github.com/yourlabs/django-session-security |
Successor issue based on this setting #1414 |
I've tested that this is working as described in the test plan. We'll have to see how the user experience is and if we get any complaints about this since there's no user feedback (as mentioned in the #1414 followup) but this should be fine. Every launch or refresh gets a new 24 hour token. As mentioned with "Continue where you left off" startup checked the other setting has no effect, which is probably what most people will have. |
A Django session seems to be established once the user login. The session doesn't seems to expire for long time. This might have potential concern for shared computers. TO the minimal the session should expire when browser closes
SESSION_EXPIRE_AT_BROWSER_CLOSE
SESSION_COOKIE_AGE
Test Plan:
django_session
tabledelete from django_session
to remove all the sessionvalue in the 'SESSION_COOKIE_AGE' with a session_id ( of the browser) as the key of the django_session table.
SESSION_EXPIRE_AT_BROWSER_CLOSE
setting.SESSION_COOKIE_AGE
, quit chrome, launch MyLA. Wait until the session expire and do some activities like going to resource access/Assignment planning etc. The user response will be disturbed.django_session
tableThe text was updated successfully, but these errors were encountered: