would anyone know if it is possible to see if the user is still on a php page that is running? (for example file that takes a long time, the user would go to another page and the script would still be running, so if you could see if the user was gone the php script could exit early)
i would think this would be possible because while the php script is running the user would be connected to the webserver waiting for the script to finish, but i can't seem to find a function that does this in the php.net docs.