You are here: Re: [PHP] trying to figure out the best/efficient way to tell whoislogged into a site.. « PHP « IT news, forums, messages
Re: [PHP] trying to figure out the best/efficient way to tell whoislogged into a site..

Posted by Ben Holt on 09/14/05 09:04

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация