Topic awaiting preservation: Hit Counter Database (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Australia |
posted 02-21-2005 05:28
Hi all, I'm building a hit counter that I would like to be fairly detailed showing hits for each page, total and unique hits. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 02-21-2005 08:17
depending on wether you have indices or not, this will slow down eventually. |
Bipolar (III) Inmate From: Australia |
posted 02-21-2005 14:01
Hmm is that how its normally done? via log files? |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 02-21-2005 17:54
but your server is keeping the logs anyhow. Why should you slow it down by letting it do double work? |
Bipolar (III) Inmate From: Australia |
posted 02-22-2005 03:09
True, i would have to check what information they actually log i guess. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 02-22-2005 08:42
No! |
Bipolar (III) Inmate From: Australia |
posted 02-22-2005 15:41
Hmm well im not sure then, if it becomes such a delay to add an item to the database then that could cause problems. |
Bipolar (III) Inmate From: Australia |
posted 02-22-2005 15:44
Another question i have if anyone knows also, i notice some hit counters say they can tell how long someone has been looking at each page. I can't figure out how to do this? I mean you could run some javascript or something but what happens when they close the page etc.. This bit has me confused... thanks. |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 02-23-2005 21:12
its incredible how much information can be get just out of apache log files. |
Bipolar (III) Inmate From: Australia |
posted 02-24-2005 23:28
Hmm that does look very nice, i will have to try and get my host to give me access to the log files. |
Bipolar (III) Inmate From: Australia |
posted 02-25-2005 07:08
Cool looks like they fixed why i couldnt access the logs, so ill give this a go. I dont think there is information i can get that isnt already in the logs by the looks of it anyhow. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 02-25-2005 08:46
nah, usually it's clever log reading. If you get an access from ip x on page Y, and another access on page T 20 seconds later, you could assume that the user with ip x has spent 20 seconds on Y |
Bipolar (III) Inmate From: Australia |
posted 02-28-2005 07:25
ahh ok, i thought something like that but that it wouldnt be very accurate. Oh well - see what i can do with these logs! Thanks for all the help |