Hello! I have made one applet looking like questioner. When user answers on first question and presses Submit button, he clicks on Next button and answers on second question. I have put counter in Next button coding (if (counter==1){//show first question} else if...) to control question showing. There are 4 questions and answers are recorded as one row in database (each question has it's column, table is updated when user clicks on Submit).
I need to control user activity and not to allow him to does more than one recording to database per testing and to disable him to restart applet when he clicks on refresh page option.
Can anybody explain me how to control session or any similar solution?
I have posted
here, but I didn't got the solution.
I hope somebody can help.