Redesigning a site for a client, and have been told that I HAVE to include their current HTML-based tracker still. Trouble is, in the site's current frames format, it acts as a session counter. When taken out of frames however, it of course reverts to being a simple hit counter.
I don't want to lose this project - does anyone have something a little more "concrete"?!
Note that this code sets the cookie to expire after 1 day, so that repeat visits within 24 hours will not be tracked. I believe that if you omit the "expires" parameter the default is to delete the cookie at the end of the session (when all browser windows are closed). This may be a more appropriate setting.