RE: [PHP-WIN] how do you determine how many people are on your we bpage right now!
| From: | Corn Vollney-R7019C | Date: | Tue, 20 Nov 2001 21:26:40 +0000 |
| Subject: | RE: [PHP-WIN] how do you determine how many people are on your we bpage right now! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10549@lists.php.net to get a copy of this message | ||
Sessions and some kind of counter variable. Check the documentation for more info on sessions.
Basically it would go like this:
1) User loads page and a session is created, this increments the counter by one
2) When the session is destroyed the counter is deincremented.
Then create a nifty little php script to view the counter variable. You could add alot of stuff to
this, like how many for each page, etc, but you really have to ask yourself..Do I need to know this?
What will I gain? Is it worth the trouble? Can I just use the web server log files and a analizer
program, plus a little math and figure this out? Yep, sure can.
Voll
-----Original Message-----
From: ChaoticWorks@cs.com [mailto:ChaoticWorks@cs.com]
Sent: Tuesday, November 20, 2001 3:21 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] how do you determine how many people are on your
webpage right now!
how do you determine how many people are on your webpage right now?
-Sean-