Scripts to show how many people online

certifyexpress

Senior member
May 30, 2000
211
0
0
I've been trying to find a scripts that can show how many people online for more than a month now but still no luck. Can anybody help me. :)
 

kingink

Senior member
Apr 24, 2000
626
0
0
not to flame you, but couldn't you have learned to write scripts that did just that instead of looking for one for a whole month.
kingink, NCNE
thanks to you know who
 

Train

Lifer
Jun 22, 2000
13,587
82
91
www.bing.com
well i count this # on a site i made. But it takes advantage of the events on NT servers only,

in the Global.asa file do this:

Application_OnStart
Application("Active_Users") = 0

Session_OnStart
Application("Active_Users") = Application("Active_Users") + 1

Session_OnEnd
Application("Active_Users") = Application("Active_Users") - 1

then on a an ASP page do this:
<% = Application(&quot;Active_Users&quot;) %>

and that writes the number of active sessions on the server.
If your not on an NT server, your sol, youll have to learn to use the active log analyzers to do this.
 

Wizkid

Platinum Member
Oct 11, 1999
2,728
0
0
There are products that will allow you to run asp pages for Unix, so if you wanted to you could use Train's method even if you aren't on NT :)
 

certifyexpress

Senior member
May 30, 2000
211
0
0
What about anything on perl, cgi that uses SSI or php?

I'm currently hosting my website on unix server thus NT solution is way off.

Thanks for your help. :)
 

BoberFett

Lifer
Oct 9, 1999
37,562
9
81
Maybe you'll get more help if you try a software forum instead of this hardware forum.