Re: trying to figure out the best/efficient way to tell whoislogged into a site..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bruce wrote:

ben...

your statements/approach is pretty much what i've been thinking of. however,
with regards to the forums/cms apps.. i've yet to find one that actually
keeps a track of the logged in users, that works when the user kills the
browser..

the ones that i've seen, that allow an admin to see who's online, appear to
fail when i've killed the test user. the apps still show the killed user as
being online...

hence my isuue!
Bruce, what I have been trying to explain is that this _can_not_ be overcome. The web is stateless. Connections between server and client last only long enough for a file to be requested and sent, once that has happened the server and client are no longer connected and have no knowledge of each other. _No_ server-side program will be able to tell you when a user closes their browser or goes to another web site. HTTP simply doesn't provide what you are looking for.

- Ben

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux