Of course this doesn't work when images are turned off in the browser, or when most spiders come crawling, or if the page is only partially loaded by the browser for whatever reason. But if you're liking this idea (and it does have some merits) then the taf being called can do an incrementing update or an insert into a log table as I described earlier.
One of the things that I like about this idea is that you only add to the counter those who would have been most likely to have seen the whole page, and not just those who accidentally clicked on the link but really didn't want to see the page. And it won't count most spiders or bots is another good reason to use this method. Another good thing about this is that you can use it for more then on table's records! Wow, we're getting some good ideas here! *Spiders are bots that work for search engines, like google or AltaVista, and find and store the pages for the indexing engine(s) that the search engines use. **Bots are robots, programs that work autonomously. A Spider program crawling through the web pages on your site by finding and following links within your web pages and other people's pages is an example of a bot. ----- Original Message ----- From: "Dave Shelley" <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Thursday, June 20, 2002 20:37 Subject: RE: Witango-Talk: Record Counter > You've had several good suggestions. > > Another way would be to use what someone on this list called the 'web bug' > technique. I've used it, not for updating counters, but sending email > notifications on specific events. > > [img width=1 height=1 src="some.taf?function=whatever..."> > > The taf can update a counter or whatever, and return a 1x1 px gif of the > same color as your background. It runs asyncronously after the original page > finishes loading and can even be used from html pages or an error.htx file. > > I can't remember who originally suggested it, but it's a great technique. > > Dave Shelley > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]On Behalf Of Scott Yoshinaga > > Sent: Thursday, June 20, 2002 3:30 PM > > To: Multiple recipients of list witango-talk > > Subject: Witango-Talk: Record Counter > > > > > > Hi All... > > > > I was wondeering if any of you have found a way to count how many times a > > single record in a database is viewed. > > > > Has anyone needed to do something similar to this? > > > > aloha! > > \\scott\\ > > > > > > ________________________________________________________________________ > > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > > with unsubscribe witango-talk in the message body > > ________________________________________________________________________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
