Dec 05, 2018 05:34 AM|Ackerly Xu|LINK
If you want to prevent the student to login with another browser, you should design a user table for the students.
For example , the table has three columns id , name , examtime(default is zero),password and you could use examtime to record exam time.
The use must login with the password.
And then after they login , you could save the use data (id,name,examtime) in your session.
Every time they go to the text page, you could update the user data in database , add the examtime.
If they use another browser, you could ask them to login and get the examtime in the database.
If it is bigger than three, then they are not allowed to restart the exam.