Not sure what "stat site" or "little icon" means? Using TCP connection statistics might provide a rough indication of inactivity. But many times the information isn't useful because all of the TCP connections for a session may have been timed out, though we may want to consider the user "still connected". It's also unconfigurable, and using IP addresses as session keys fails when people visit your site from behind a NAT box or a proxy server. ----- Original Message ----- From: "Paul Zwarts" <paul.zwarts@oratrix.com> To: "Chris McDonough" <chrism@digicool.com> Cc: "StoonsDesign" <webmaster@stoonsdesign.dk>; "ZopeQ" <zope@zope.org> Sent: Thursday, March 01, 2001 10:39 AM Subject: Re: [Zope] How do you track if somebody leaves your site..?
Interesting....
But arent there many of these stat sites that have the little icon in the bottom? I've seen average view times per page and such. Perhaps that little icon itself is what does it, since it activate cgi?
Would it not also be possible to run an external method that captures a netstat command? An IP connection will establish channel and either be on a time-wait or closed and disappear. It would tax the server, but not create too much net congestion with these reloading gifs as Hannu pointed out...
Is that possible?
Paz
Chris McDonough wrote:
Hi,
Because of the way the Web works, there's no real way to determine when someone leaves your site. It's probably best to compare the server to a vending machine. Someone comes along, puts some money into the machine and pushes a button (initiates a transaction with the server), and walks away (closes the connection). The vending machine for the short period of time that the money goes down the slot and the button is pushed does some work and gives them a snack (some HTML or some other textual data), but it doesn't know or care whether the guy is hanging around afterwards. When the guy comes back to the vending machine, it likewise doesn't "remember" him.
This conundrum is often solved by "sessioning" products, which take a stab at attempting to identify a particular user between requests for some period of time defined by "inactivity" (time between requests by the same user).
There are several sessioning products for Zope: SQLSession, FSSession, HappySession, and CoreSessionTracking. You can find these on Zope.org.
HTH,
- C
----- Original Message ----- From: "StoonsDesign" <webmaster@stoonsdesign.dk> To: "ZopeQ" <zope@zope.org> Sent: Wednesday, February 28, 2001 7:41 PM Subject: [Zope] How do you track if somebody leaves your site..?
Can somebody tell me how to track if someone "leaves" the Zopeserver..?
I am going to use it for some login-feature....
Stoons, WebMaster @ 3D Festival http://www.3dfestival.com (Yes, that was made using Zope!)
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )