![]() |
User online state indicator
Good day to you all,
I working on a login / logout code, now I need to find out who is online and not. I was thinking of a javascript which would count time spend on page. here it is : PHP Code:
Now I need that for each increment of one minute, a txt file would be update (+1) PHP Code:
Also If the txt file reach a count of 15, user get logout automatically. Can somebody help me include the last 2 point to my javascript code ? Thanks ! |
| All times are GMT. The time now is 06:57 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0