how bout add a last logged in field , and then do a check where the last
logged in field is NOW() etc ..
-Original Message-
From: Oliver Witt [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 6:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP] who is on the page?
Hi everybody,
I've been
oh silly me you might need also an on/off flag , but need a way to determine
when they close the connection
-Original Message-
From: Oliver Witt [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 6:24 AM
To: [EMAIL PROTECTED]
Subject: [PHP] who is on the page?
Hi everybody,
I've
What you might want to try is to set a cookie when the user first enters the
page, but set it's length to 5 minutes. Then everytime the cookie is resent
to the page you count it as a user. But if they leave, then the cookie
destroy's itself. You can have the cookie reset it's self, or set to when
I've been looking for a script to determine who is on my page (people
have to log in). So far, I've been using a script that updates the
time
in the database continuously as long as the person is on the page.
That
way, the script could determine whether the user is still online or
not.
4 matches
Mail list logo