Hello all
I want to make a Total visited user counter in my website it contain total visited user also currently visited user ,when a user visit my site it will add in total visited counter.please send me solution of this.
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.
Sumit JoshiPosted Aug 13, 2015, 7:22 AM
----------------------------------------------------------------------------
public static int totalVisitors,onlineCounter = 0;
{
Application.Lock();
onlineCounter++;
totalVisitors++;
Application.UnLock();
}
void Session_End(object sender, EventArgs e)
{
Application.Lock();
onlineCounter--;
Application.UnLock();
}
Rajeesh MenothPosted Aug 13, 2015, 6:59 AM
Manish SharmaPosted Aug 13, 2015, 6:54 AM
Rajeesh MenothPosted Aug 13, 2015, 6:28 AM
Manish SharmaPosted Aug 13, 2015, 6:26 AM
Susanta RoutPosted Aug 13, 2015, 6:20 AM
Manas MohapatraPosted Aug 13, 2015, 6:17 AM