T
Tahir
Hi,
i have a problem with my online user count;
void Session_Start(object sender, EventArgs e)
{...
System.Web.HttpBrowserCapabilities tarayici = Request.Browser;
if (tarayici.Crawler)
return;
Application.Lock();
Application["ActiveUsers"] =
Convert.ToInt32(Application["ActiveUsers"]) + 1;
Application.UnLock();
....}
the Application["ActiveUsers"] shows the hit about 100.
then i log the request ip and some other information like date to my sql.
so it is clear that all the hit is made bu Google, Yahoo and some other
search engines.
what can i do to count only the human visiters but not the bots?
thanks
i have a problem with my online user count;
void Session_Start(object sender, EventArgs e)
{...
System.Web.HttpBrowserCapabilities tarayici = Request.Browser;
if (tarayici.Crawler)
return;
Application.Lock();
Application["ActiveUsers"] =
Convert.ToInt32(Application["ActiveUsers"]) + 1;
Application.UnLock();
....}
the Application["ActiveUsers"] shows the hit about 100.
then i log the request ip and some other information like date to my sql.
so it is clear that all the hit is made bu Google, Yahoo and some other
search engines.
what can i do to count only the human visiters but not the bots?
thanks