06-01-2005, 04:45 PM
hi, im not sure if this is posted in the wrong section, if so, im sorry. I was wondering if anybody could help me with a simple current users online script, just displaying the current number of people viewing my website. I would be gratefull for any feedback, thanks
06-01-2005, 06:30 PM
This is usually done with a data base. Every time a user hits a page their are considered online. If they leave the site (catch in JS or in ASP/PHP) you say they are offline. And as a final failsafe you have the DB automatically set them off line if they have been inactive for 15 minutes or so.
Ahhhh.... no one will write this for you... to much to do! Hahahahaha...
P.S. Then again i have been proven wrong before, and maybe some one will write it up for you!