8
I'm working on a PHP/MySQL/Javascript based online chess game. One problem I've encountered is the possibility of a user on one end just closing his browser. Is there any way to reliably detect if someone has been idle/closed the page?
As an added complication, our school server does not support cron jobs -_-