Reply to Re: Count visitors on my website

Your name:

Reply:


Posted by Michael Fesser on 07/15/07 01:14

..oO(Hadron)

>Michael Fesser <netizen@gmx.de> writes:
>
>> Such "statistics" are never accurate. HTTP is a stateless protocol,
>> there's no such thing like a "currently online user". A user comes,
>> sends a request, gets a response and is gone. Next request, next user.
>
>So you clearly have no clue.

Sure?

>PHP maintains sessions and the user can be logged for that duration and
>therefore only counted once.

You are the second one in this thread who obviously didn't read the "not
logged in" in the original post.

And what does session counting tell you? Sessions can be open for hours
without any user interaction. The user could have died already in front
of his monitor and his session would still be open.

Whatever way you go - it's always just guessing. So why bother at all?
Why show a questionable "information" that is of absolutely no use for
the visitor? Just to show how cool and active the "community" is? If you
want that you can use rand() - it's much easier than all others methods.

Micha

[Back to original 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

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