Reply to Re: Can I at least read the session files for all sessions?

Your name:

Reply:


Posted by Bob Stearns on 11/08/58 11:31

Berimor wrote:

> On Tue, 08 Nov 2005 09:34:02 +0200, Bob Stearns
> <rstearns1241@charter.net> wrote:
>
>> Right now, I am attempting to see how many users are "signed on" to
>> my system. Since this is, at best, rather tenuous in a WEB
>> environment, I thought to read the active session variables and see
>> how many sessions there were.
>
>
> I'd propose to write timestamp to DB each time the registered user
> visit the site's pages. Then you define the default timeout and make
> querry - something like that :
> SELECT COUNT(username) FROM table_name WHERE last_logged >current_time
> - timeout
> think this is more simple.
>
>
Thanks, I'll work on that.

[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

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