current users online
- Started
- Last post
- 7 Responses
- xrusos
how do you do it?
you know what i mean...
"this site currently has ___ users"just saw it again at http://www.forwardtrends.com/
(right side, bottom)
- unknown0
just generate a random number between 50 and 5000, I mean, who's going to know?
heheh
- unfittoprint0
PHP baby, PHP.
- xrusos0
script? where to find it? links? is php the only way? how about coldfusion?
- xrusos0
php solution:
http://www.devarticles.com/art/1…any non php solutions?
- BlueTree0
I think any scripting language could do it. You just have to know how to display how many user sessions are running. Or something like that.
As for details on how to do it.... I have no clue.
- mitsu0
depends on how you store your info. you could put it in a table as a bit flag called Online and set it when they log in, or in ASP you could use an application-level variable. you could even store the current users in a text file. it's pretty simple.