I am using sessions to maintain login/logout status. I update the table when a user logs in and logs out. But some users don't logout. How to automatically log them out and update the status.
I had used the meta tag to refresh the page after 20 mins, so if the page is kept opened it automatically logs out the user after 20 mins. But it's not providing me results which I expect. Please anyone let me know, how to do this?
Thanks for your help!
I had used the meta tag to refresh the page after 20 mins, so if the page is kept opened it automatically logs out the user after 20 mins. But it's not providing me results which I expect. Please anyone let me know, how to do this?
Thanks for your help!
Comment