--- Matt Palermo <[EMAIL PROTECTED]> wrote:
> Okay, I actually found out how to list the users,
> but you have the following
> line of code:
>
> define('SITE_ONLINE_EXPIRE', 900);
>
> What is the 900? Is that 900 seconds?
>
Yes time is in seconds.
zareef ahmed
=
Zareef Ahmed :: A PHP Dev
Okay, I actually found out how to list the users, but you have the following
line of code:
define('SITE_ONLINE_EXPIRE', 900);
What is the 900? Is that 900 seconds?
Thanks,
Matt
http://sweetphp.com
"Matt Palermo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This looks like a g
This looks like a good solution. What is the best way to list the current
users, since the sesssionData seems to be serialized in the db or something?
I just want to list out all the users from the db.
Thanks,
Matt
http://sweetphp.com
"Greg Donald" <[EMAIL PROTECTED]> wrote in message
news:[EM
On Fri, 2 Jul 2004 01:13:14 -0400, Matt Palermo <[EMAIL PROTECTED]> wrote:
>
> Is it possible to make a table of all logged in users session ids and then
> check to see if the session still exists every couple minutes? So every
> minute or two, it would go through the table and for each record it
bject: Re: [PHP] Online Users[Scanned]
Is it possible to make a table of all logged in users session ids and then
check to see if the session still exists every couple minutes? So every
minute or two, it would go through the table and for each record it would
get the session id, then check that se
Is it possible to make a table of all logged in users session ids and then
check to see if the session still exists every couple minutes? So every
minute or two, it would go through the table and for each record it would
get the session id, then check that session id to see if it's still in
exista
Hi,
If you are using a database on your server you can
do this as follows:
1. Make a table named
active_users(userid,last_access);
2. Record every visit of a user to any page.
3. you can delete the entries from this table on a
condition like ::
delete from active_users where last_access is less
t
* Thus wrote Matt Palermo:
> they click the logout button). Basically I want to be able to keep a list
> of all currently active users. So if they close out their browser, it will
> remove their name from the list (within a reasonable time frame). I'm
No can do.
You'll just have to expire peop
8 matches
Mail list logo