Hi all. My problem is i want to count the person online(include user and guest) on my website and how many user is online or something like this.
Give me some article or source to do it fine,please!! Hope reply soon.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hemant KumarPosted Oct 20, 2011, 9:53 AM
viet vo quocPosted Oct 19, 2011, 9:03 AM
Hemant KumarPosted Oct 19, 2011, 2:45 AM
As if i consider it is better to save the registered users visit record only.Not the unknown user data also.This is will increase your application performance.It is waste of saving the unknown user info also.just try to maintain the Visitor count only.
Mark as "Accepted Answer" if it helps you .
viet vo quocPosted Oct 18, 2011, 9:50 PM
Thanks for help.But i have a problem want to ask you that If i want to store the persons who visited in my site ,i have to create a table in database and when session_start was changed i must connect to my database and update it.IF there is much person access i must connect to database much times ,so my website is slower.Is there any way to make it better???Hope reply.
Hemant KumarPosted Oct 18, 2011, 12:10 AM