From ceacef1bd8594191ea8d86c2b58303a2946604a4 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Wed, 27 Mar 2019 13:20:28 +0800 Subject: [PATCH] MDL-34498 grade: rubric session timeout Allow a longer session timeout when editing a grading rubric form. --- grade/grading/form/rubric/edit.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/grade/grading/form/rubric/edit.php b/grade/grading/form/rubric/edit.php index c1849f2a268..15bda1e6f96 100644 --- a/grade/grading/form/rubric/edit.php +++ b/grade/grading/form/rubric/edit.php @@ -65,6 +65,10 @@ if ($mform->is_cancelled()) { redirect($returnurl, $warning, null, \core\output\notification::NOTIFY_ERROR); } +// Try to keep the session alive on this page as it may take some time +// before significant interaction happens with the server. +\core\session\manager::keepalive(); + echo $OUTPUT->header(); $mform->display(); -echo $OUTPUT->footer(); \ No newline at end of file +echo $OUTPUT->footer();