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?
Cuộc thảo luận này đã bị khóa nên bạn không thể trả lời nó nữa.