How to track user logged out or not? When user is idle?
Answer Posted / Shuchita Joshi
To track if a user is logged out, check the session status in your PHP scripts. If the session is destroyed, the user is logged out. For tracking user idleness, you can use JavaScript on the client-side to periodically ping the server and update the last activity timestamp on the server-side.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
What is the current stable version of php?
What is the difference between htmlentities() and htmlspecialchars()?
Name and explain five of the PHP error constants?
sort term descripttion form, report and uery
Which variable declarations within a class is invalid in php?
List some features of php that are deprecated in php7?
What does $_files means?
Tell me what kind of things have you done on the social side?
How to create a web form?
How to calculate the difference between two dates using php?
how to detect a mobile device using php
What is difference between static and final in php?
Write a program using while loop?
How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain