Moodle
  1. Moodle
  2. MDL-15735

Find some way to warn teachers if the quiz time-limit is longer than the session time-limit

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9.2, 1.9.3, 1.9.4, 1.9.5
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      This does seem to lead to problems when students don't save their work part way. See, for example, http://moodle.org/mod/forum/discuss.php?d=101693#unread.

      The specific change I propose to do here, to help mitigate the situation, is to display some kind of warning to teachers if the quiz time limit is longer than the session time-limit. At least if the quiz has all the questions on one page.

        Gliffy Diagrams

          Activity

          Hide
          Rob Davenport added a comment -

          This feature should also check against the also the PHP setting called session.gc_maxlifetime.

          Show
          Rob Davenport added a comment - This feature should also check against the also the PHP setting called session.gc_maxlifetime.
          Hide
          Paul Vaughan added a comment -

          Would it be possible to remove the session limit completely (or set it to a high value like 24 hours) while a quiz is in progress? I can see the benefit of sessions timing out but not in terms of a quiz.

          Show
          Paul Vaughan added a comment - Would it be possible to remove the session limit completely (or set it to a high value like 24 hours) while a quiz is in progress? I can see the benefit of sessions timing out but not in terms of a quiz.
          Hide
          Tim Hunt added a comment -

          No.

          You have to have a session time-out because sometimes people just close their web browser without logging out - so you have to clean up stale sessions some how. And the way all web applications do that is to have some time-out - set by the administrator - that controls how much idle time must elapse before a session is cleaned up.

          Show
          Tim Hunt added a comment - No. You have to have a session time-out because sometimes people just close their web browser without logging out - so you have to clean up stale sessions some how. And the way all web applications do that is to have some time-out - set by the administrator - that controls how much idle time must elapse before a session is cleaned up.
          Hide
          Wen Hao Chuang added a comment -

          I believe this is still an issue in 1.9.5 codes? Just quickly updating this ticket

          Show
          Wen Hao Chuang added a comment - I believe this is still an issue in 1.9.5 codes? Just quickly updating this ticket
          Hide
          Tim Hunt added a comment -

          This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue.

          For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment

          Show
          Tim Hunt added a comment - This issue was assigned to me automatically, however I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue. For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment

            People

            • Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: