Re: Online Members

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you're talking about tracking the number of visitors with presently open
sessions at your website...

>
> I was just browsing the tutorials form at PHP Developer Network and saw
> this : http://forums.devnetwork.net/viewtopic.php?f=28&t=29342
>
> Looks like it does what (I think) you were trying to describe.


the above link winds up at a dead end,
http://webmonkey.wired.com/webmonkey/04/50/index4a.html

 there are many ways to do this, depending upon how you store the session,
you may be able to crawl a list of them.  w/ the stock session support there
are a number of files in /tmp, which would be a place to start.

however, id probly just drop a counter in the database when a session is
created and remove it when said session is destroyed.  then all youd ever
have to do is lookup that number.

this you could achieve via session_set_save_handler()

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux