Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-72010

Quiz should use Moodle's mechanism for keeping the session alive

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • Hide
      1. Change the session timeout in your admin settings to something short. (Not essential, but will make testing this much easier.)
      2. Find or create a quiz.
      3. Attempt (or preview the quiz).
      4. Wait on the attempt page for more than the session time-out.
      5. Click 'Next' (or 'Finish attempt ...').
      6. Verify that you go to the next page of the quiz (not the Moodle login screen).
      Show
      Change the session timeout in your admin settings to something short. (Not essential, but will make testing this much easier.) Find or create a quiz. Attempt (or preview the quiz). Wait on the attempt page for more than the session time-out. Click 'Next' (or 'Finish attempt ...'). Verify that you go to the next page of the quiz (not the Moodle login screen).

      I have just learned about

      \core\session\manager::keepalive();
      

      We should definitely be doing that during quiz attempt.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Huong Nguyen Huong Nguyen
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 40 minutes
                1h 40m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.