Re: [SMARTY] TOTAL Server Sessions
| From: | Rainer Müller | Date: | Mon, 03 Jan 2005 12:32:20 +0000 |
| Subject: | Re: [SMARTY] TOTAL Server Sessions | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12101@lists.php.net to get a copy of this message | ||
HarryG wrote:
Is there an easier way to count the total number of sessions running on a PHP webserver? something like session_count(); I've seen some php site where it tells you how many people are currently online, which I guess is being done by keeping a count of total sessions running on the serverThis mailing list is for Smarty, not for general PHP problems. In most cases, this is done by inserting the date of the last access to the site into a database and read out how many rows exists with a date within the last five minutes. Rainer