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

From: <Jim_Brouse/[email protected]>
Date: Mon, 4 Aug 2003 15:30:17 -0700

How can I determine for a particular day sites visited for a particular IP
in the order visited and time spent on each?

Jim

                                                                                                                        
                    Antony Stone
                    <Antony@Soft-Soluti To: squid-users@squid-cache.org
                    ons.co.uk> cc:
                                              Subject: Re: [squid-users] Determining total time spent at a
                    08/04/2003 02:14 PM particular web site and total amount of hits
                                                                                                                        
                                                                                                                        

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 - 16:30:29 MDT

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