Re: [squid-users] Determining total time spent at a particular web site and total amount of hits

From: Antony Stone <Antony@dont-contact.us>
Date: Mon, 4 Aug 2003 22:14:42 +0100

On Monday 04 August 2003 10:06 pm, Jim_Brouse/PYT@PASCUAYAQUITRIBE.ORG wrote:

> How can I determine the total time spent at a particular domain for a
> particular IP address?

(a) Record the time the address first contacts the domain.
(b) Record the time they last contact the domain.
(c) Subtract (a) from (b) = time spent at the domain.

Both (a) and (b) can be found from access.log

Remember that http is a stateless protocol - you cannot tell when someone
'leaves' a domain, except by noticing that they haven't returned....

Antony.

-- 
Most people have more than the average number of legs.
Received on Mon Aug 04 2003 - 15:14:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:35 MST