Refresh session after any activity rather than just performing QA

Issue #165 resolved
Randle Taylor
created an issue

Currently sessions are only refreshed if a users performs QA, but it should be refreshed for any activity.

It would be easiest to move the following:

        # explicity refresh session expiry to prevent situation where a session
        # expires in between the time a user requests a page and then submits the page
        # causing them to lose all the data they entered
        self.request.session.set_expiry(settings.SESSION_COOKIE_AGE)

from PerformQA to a middleware layer.

Comments (2)

  1. Log in to comment