I want to check my registers users active or not for that users came to my index.php page i want to insert the table through session user1 is active and same time without logout user1 is closing the browser tab or browser the table should be update user1 is inactive.
Advice me it's possible to do that, can do mean please help me how to do that part or is there any possible way to do that same function.