I am doing one project in which i need to find currently online users.how can i ? is there any way ?
another thing , if i fetch user login history in DB table and check from there if user currently login or not then there will be one problem occur like if user close browser without logout then his/her status will remains logged in as per DB table's entry.(because his session will set)
So for this , Is there any way to find user's last activity with web page ? so i can logout him/her after some predefined time.
Thanks in advance