Hello,
I'm trying to make a WhosOnline feature for my Teen Community Online. In order to do this I thought when some1 logs in it writes to a dbm file. The key would be the member's name and the value would be a time/date they logged in.
Then everytime they click to a area of the page, it gives them a new time/data. Also in each area it checks the time/date they logged in or last did something in a area and minus's the current time and see if theyre been idle for 40 mins. If so it removes them off the dbm file.
Would this work out? If not can you tell me another way to do so.