How to know number of online users

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
BasantSingh
Forum Newbie
Posts: 6
Joined: Wed Mar 05, 2008 3:19 am

How to know number of online users

Post by BasantSingh »

Hello friends, can anybody tell me that how to know the number of online users on a website. Please it's very urgent.

Thanks & Regards
Basant
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: How to know number of online users

Post by Christopher »

Record their last sign-in timestamp and find all records within your session expiration time limit.
(#10850)
Post Reply