Test with time limit on 45 min. Test consider only "many answers" questions. 50 questions per test (quiz).
User sart test (timer = 45 min). Give answer for all 50 questions (timer > 0, about 1..10 min). User press "send & end" in bottom of the test page. Then server return this test with reset answers (all answers is blank as the start time) timer continous to tick...
How i can debug this? Maybe it is famous problem?
I have moodle v.1.9.9+, Linux debian 2.6.32-5-686 #1 SMP i686, 4GB RAM, Apache.
server return blank answers in the test after click on the "Send & End" button
Re: server return blank answers in the test after click on the "Send & End" button
I have project in runtime now. I modificate many files in my moodle for change it theme, pages makeup. And i have some courses imported from another 1.9 moodle. I create my courses. I'm afraid, that it doesn't run on moodle upper version. I want create test server on which i can try to upgrade my moodle.
my session timeout is 1440 sec by php, if it doesn't changed by moodle. Authentication method is external DB, but i make single-sign-on with our web portal? about 75% users don't have it problem.
Re: server return blank answers in the test after click on the "Send & End" button
1440 sec == 24 minunts == too short for a 45 minute test.
Here is what is happening:
- Student arrives at mod/quiz/attempt.php
- Student spends more than 24 minutes entering responses, without causing any other page loads. This means that their session times out.
- Student clicks Submit all and finish.
- Moodle detects that the student is no longer logged in, so redirects them to the login page. This is where their submitted data gets lost.
- Your single-sign-on system atomatically logs them in, and redirects them back to the page they came from.
You need to increase your session time-out.
Re: server return blank answers in the test after click on the "Send & End" button
Thank you, Tim! I change session.gc_maxlifetime to 3600. Test now.
Re: server return blank answers in the test after click on the "Send & End" button
Hi, Tim! My test complete ok, i think. Now users testing . Thank YOU!