It seems like every time I want to go to https://courses.opencraft.com/ , I have to log in all over again. Does someone know what configuration changes are needed to make users stay logged in forever? And can we make that the default for all Ocim instances?
I recall that we’ve done it for some clients, and I think it requires changing a few different settings, which is why I’m asking.
You can log time for this thread on MNG-1817 since that’s where it came up.
Update: I have made configuration changes to https://courses.opencraft.com/ to make the session cookies last for a year and use database-backed sessions.
# Stay logged in for one year, not two weeks
# Use database-backed sessions to stay logged in across appserver deploys. We have EDXAPP_CLEARSESSIONS_CRON_ENABLED to clean up old data.
For now I will test this configuration on courses.opencraft.com (currently deploying a new appserver to test), and if there are no issues I’ll make it a default for all Ocim instances.
See comment on MNG-1938 for more details (including why a past attempt at cached_db was reverted) or to log time.