You are here: Re: User status Online/Offline? « PHP Language « IT news, forums, messages
Re: User status Online/Offline?

Posted by Olaf Schinkel on 12/19/07 16:01

Php Developer schrieb:
> I want to know how to check that user is online or offline by Php.If
> he visit pages then he is online, if he not accessed page he is
> offline. How to handle this is in PHP...I set session of each user...
That is *not* possible.
PHP genarates the code, sends it to the Client and FINISH.
So you have to do something on the website.
Maybe an AJAX request every x Seconds.
But when the client has no JS, or disabled it....
.... it doesn´t work too.
And when JS is working an the person at the computer is sleeping?


Result:
Forget it.


Olaf

 

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

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