Re: Number of connected users
| From: | Ignacio Vazquez-Abrams | Date: | Fri, 15 Dec 2000 16:50:38 +0000 |
| Subject: | Re: Number of connected users | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30529@lists.php.net to get a copy of this message | ||
On Fri, 15 Dec 2000, Francesco Rossi wrote:
> Hi,
> I work with Apache web server and php version 4.
> How i can obtain the number of connected users ?
> Thank
>
You can't, because HTTP doesn't work that way (usually). Once a request has
been made, the browser disconnects from the server. There are such things as
keepalive connections, but that isn't reliable either.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>