April 21st, 2000, 06:49 PM
Ok, I need a little help.
Or even a point in the right direction.
I need to be able to tell and post it out to a web page when/who is on my website.
There is a login screen, a members mysql database, and the rest of the site is php.
So if you have lead or solution in mind please post, or email.. thanks.
April 24th, 2000, 08:24 AM
well, in the database, you could have a field where there is a 1 or a 0 and when they log in, the login page changes it to a 1, then when they log out, it changes it to a 0. Then, just make a PHP page that aut-refreshes and goes through that database looking for all of the "1"s...
then you should get a pretty accurate record of who's logged in...
April 26th, 2000, 11:28 AM
Sounds like a good idea, but what if the user doesn't log-out? Most people just close their browser window when they're finished. This is something that I've been wrestling w/ for awhile...and the best solution that I've come up w/ is to add a time-out to the sessions. Does anybody else have a better idea?
April 26th, 2000, 09:15 PM
Dist - firstname.lastname@example.org - Founding member of Clan Station
April 27th, 2000, 06:46 AM