My teacher want to create some virtual lessons for his object and he created a version for the student and one for the teacher.
He now asked me how to redirect students using the teacher control panel, from one part of the lesson to another.
I can do the PHP part for the teacher panel and the server file to be called every 2-3 seconds to see if a redirect is mandatory. Maybe this is a JSON/AJAX thing?
Thanks
You can do in this way. (for student)
from student panel, make a periodic request to server (in interval of 5-10 s).
On the server side you can do
UPDATE::
put the above ajax code insde a function
and on document ready funcion
you might wanna see this