I know there is a way to check if the user leaves your webpage, but what I really need is a way to check if they are still there. I’m not quite sure how to go about doing this.
Any help is appreciated.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can write a call to a PHP script on regular intervals in JS letting the server know the user is still on.
This question/answers might help jquery , Ajax or PHP : Run Script at a specific time or perform action in the background