Reply to Re: number of logins

Your name:

Reply:


Posted by hughie on 12/27/06 19:07

> poll the db for active users.

aha, you have any code for that?

> perhaps your DB could have a meta-data table/row
> update an "active_num_users" each time someone logs in/out
> either a straight-forward increment/decrement or actually test for
> "active/non-idle" users.
> of course to track that, you'd need to also store not-only when someone
> logs in, but their last activity (ie, each time they load a page)

exactly..but I was hoping to find a way to do that from some uber
session or something.
It's starting to look like going the db table way is probably best.

Hughie

[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

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