Although this is not a direct answer, I would like to address the issue:
Please note that the client-side user agent can be easily changed. For example, in the aspect of programming:
HttpParams params = new BasicHttpParams(); HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1); HttpProtocolParams.setContentCharset(params, HTTP.UTF_8); HttpProtocolParams.setUserAgent(params, "WAHAHAHA"); HttpConnectionParams.setConnectionTimeout(params, HTTP_CONNECTION_TIMEOUT); HttpConnectionParams.setSoTimeout(params, HTTP_READ_TIMEOUT); HttpClient newHttpClient = new DefaultHttpClient(params);
When using this HttpClient to access your site, the user agent will be "WAHAHAHA"
In addition, some web browsers available on the market, such as the dolphin browser, allow the user to enter any combination of user agent that they want.
Therefore, I think the statistics of hit statistics received from the user agent will not be so reliable, I would recommend finding another criterion for collecting information on the number of hits =]
hungr
source share