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

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

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MDL-72010_311
    • 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).

    Description

      I have just learned about

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

      We should definitely be doing that during quiz attempt.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Huong Nguyen Huong Nguyen
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/Jul/21

              Time Tracking

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