![]() Topic awaiting preservation: Hit Counter Database (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Australia |
![]() 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 |
![]() depending on wether you have indices or not, this will slow down eventually. |
Bipolar (III) Inmate From: Australia |
![]() Hmm is that how its normally done? via log files? |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() 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 |
![]() True, i would have to check what information they actually log i guess. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() No! |
Bipolar (III) Inmate From: Australia |
![]() 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 |
![]() 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 |
![]() its incredible how much information can be get just out of apache log files. |
Bipolar (III) Inmate From: Australia |
![]() 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 |
![]() 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 |
![]() 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 |
![]() 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 |