Click to See Complete Forum and Search --> : Weird hit rate counter problem, any help?


koonyue
06-08-2004, 05:48 AM
Here is the situation:
I want to write a server side program/script to probe the hit rate of some specific websites over a specific amount of time.

For example, I would like to know the hit rate of www.somewebsite.com within one day.

How can I do this? or is it possible to do?

Some requirements:
1.The minimum time range should be 1 min (so the minimum refreash rate is 1 min)

2.Exact accuracy is not first concern, but important.

3.Speed is the major concern because the number of website being probed would be increase over time.

Hope someone can raise out some thoughts

Best regards ^^

DaveSW
06-08-2004, 05:59 AM
Do you want the number of page loads or the number of unique visitors?

Is it for one page of that site (e.g. the index) or the entire site?

koonyue
06-08-2004, 11:53 AM
thanks for the reply, ;)
I think both situation should be handled,
one page(index.htm) and the entire site.

and I want the number of unique visitors.

so the question should rephrase to:
I want to know the unique number of visitors of a specific page or entire website over a specific amount of time

can't wait for reply

Regards

DaveSW
06-08-2004, 01:50 PM
which server side languages does your server support?

ray326
06-08-2004, 11:01 PM
You really should do this by processing the server access logs and reporting tools to do that are readily available.

koonyue
06-09-2004, 06:29 AM
yes I know, so I call it "weired", ^^

whatever server side language is possible becasue I don't even have a clue right now

so can I write a program that work like a search engine but only to check hit rate of some website?

Regards

DaveSW
06-09-2004, 07:14 AM
*Suddenly realises what you mean*

You need access either to the server logs or to the coding on the page itself. I don't think you can just 'go along to any site you want and find out how many hits it's getting'.

koonyue
06-09-2004, 07:35 AM
glad u know what I mean, ^^

since it seems to be no way around, I change the situation a bit.

let think from the client side, suppose there are 10 users which all downloaded a small program that run in there computer. The program will detect which website they have being access and report back to central server...

would it be OK? how can I detect someone being access some website?

thanks ^^

DaveSW
06-09-2004, 11:45 AM
you could use keylogger software but it's illegal unless they're your computers...