a6e6s / slimstat

Automatically exported from code.google.com/p/slimstat
GNU General Public License v2.0
1 stars 0 forks source link

Slimstats logs referrers from its own domain #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Not sure if this is a bug or by design, but I think it should not record 
hits from its own domain.

Original issue reported on code.google.com by real...@gmail.com on 27 Nov 2009 at 1:11

GoogleCodeExporter commented 9 years ago
Sometimes this happens when people leave a web page open for a long time and 
then
click a link. It gets treated as a new visit because of the delay, but the 
referrer
is from its own domain because... well, it *is* from its own domain. One for 
the FAQ,
I think.

However I have found a bug in which some field or other (often the user-agent) 
is
longer than the database field in which it will be inserted. So when SlimStat 
looks
for matching entries in the database, they don't exist, because the database 
contains
the truncated version. So because it doesn't find a match, it starts a new 
visit. I
have hopefully fixed this by truncating all the fields in advance, so they 
should
always match the database.

Original comment by step...@wettone.com on 27 Nov 2009 at 12:47

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r72.

Original comment by step...@wettone.com on 27 Nov 2009 at 12:48