Home > Archive > PHP Smarty Templates > January 2005 > Re: [SMARTY] TOTAL Server Sessions
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [SMARTY] TOTAL Server Sessions
|
|
| Rainer Müller 2005-01-03, 3:59 pm |
| 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 server
This 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
| |
| HarryG 2005-01-03, 8:58 pm |
| My apologies. I posted the message here accidentally. I meant to post it in
php.general newsgroup. Unfortunately I couldn't delete of recall this post.
"Rainer Müller" <mueller_rainer@gmx.de> wrote in message
news:crbe0j$qqr$1@sea.gmane.org...
> HarryG wrote:
a[color=darkred]
>
> This 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
|
|
|
|
|