July 21st, 2000, 11:26 AM
How would I go about implementing a feature that lists the number of users that are currently visiting my site (registered users with user info stored in a cookie)?
July 21st, 2000, 11:42 AM
when a user logs in simply make a field called online switch to 'yes' and then back to 'no' when they leave
make a new table where all logged in ppl are inserted, when someone logs out, delete them from the table.
July 21st, 2000, 12:02 PM
That's fine if you can get your users to logout somehow, but what if they're just navagating away from the site or closing the window altogether? Then it's not so easy to keep track of them.
July 21st, 2000, 01:36 PM
July 22nd, 2000, 10:50 AM
Make a timer if the user arnt logging out!
set it to 30 mins or so if the user arnt moving between any pages. But that DOES require a bit coding and a few extra files!