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
than (currenttime-MAX_EXPIRE_TIME)
4. Display row count of active_users to visitors.

This is just a hint. Some knowldge of php/any database
assumed , 

Revert back with any comment or problem.

zareef ahmed
 

--- Curt Zirzow <[EMAIL PROTECTED]> wrote:
> * 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


=====
Zareef Ahmed :: A PHP Developer in Delhi(India).
Homepage :: http://www.zasaifi.com


        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to