Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2005
    Location
    United Kingdom
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    simple users online script

    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

  • #2
    Regular Coder
    Join Date
    May 2005
    Location
    Michigan, USA
    Posts
    566
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •