| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I appologize if this has been asked before. I tried searching for it but didn't find anything.
Once my members log in, I want to display their names in a reserved section on the page. I was wondering what is the best way to display "who" is online. I was going to add their names to an "online" table in my database when they logged in. But how would I remove them if they didn't log out. How do I remove their names if the session variables timeout or they close the browser without clicking the log out link. I am also open to other techniques. Thanks in advance. |
|
#2
|
|||
|
|||
|
anyone?
|
|
#3
|
|||
|
|||
|
Hi,
What I done was add a field to my Database called STATUS and when they login the database is updated and the field says ONLINE or when they logout it is updated to say OFFLINE. On my page I checked the status of all members and wrote the ONLINE members name or username to the screen in a reserved area. Hope this helps. |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > How do I display active members online? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|