Couldn't you have that more easily by simply extending the session timeout period?
Quiz
What happens if a session times out in the middle of a quiz?
Энэ мэтгэлцээн түгжигдсэн тул та цаашид хариулт өгөх боломжгүй