Inboxen / Inboxen

Main repo for Inboxen.org

Home Page:https://inboxen.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Session expirey is not updated often enough

moggers87 opened this issue · comments

Currently we only extend a session that has less than one week left as we didn't want to save the session on every request. However this does mean that a user who uses Inboxen for 6 days in a row and then leaves will find their session expires 8 days later.

Maybe we should change this check to update once a day?

Turns out: all our logic was wrong. Sessions in Django are weird and confusing and I don't like them.