I am setting up a online test platform using php. The problem is with the longer tests having a time of over 60 minutes. In my system a user logs in and takes the tests. Often when the user submits the test answer, he finds that he has been logged out.
It seems that the session id is being destroyed due to idle systems of the users. How to attend the issue?
I do not want to send the variables to garbage after this time, rather I want to make sure that they are not sent to garbage within this time.