[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] File change
- Subject: RE: [cobalt-users] File change
- From: "Phil Beynon" <phil@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri Mar 12 04:37:03 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> I don't know this has anything to do with a RaQ4, but seeing as the
> script is running on one, I'll ask the question.
>
> I have a counter which runs from a cgi script, which increments a text
> file when the website is accessed. The text file translates to the
> numbers which appear on the site.
>
> Every so often, the text file seems to be set back to zero - yesterday
> the counter on the site read 121729, today it read 167. I edit it to
> reflect the number it should be reading then a week or two later it is
> set back to zero.
>
> Any ideas please?
>
> Thanks
>
> Regards
>
> Jackie
The obvious question is at what point does the counter naturally roll over
to zero.
Quite a few of these counter scripts increment for every part of the page
that loads, so every graphic on the page increments it. It's the difference
between hits and unique visitors. i.e. if you have 100 little graphics it
increments by 101, once for the page and again for each graphic.
Phil
** http://www.diygear.com THE Online DIY Toolstore For DIY & Business
** Infolink Electronic Systems Ltd. http://www.infolinkelectronics.co.uk
** Professional Web Design & Cobalt Hosting Solutions
** Sun Cobalt iForce Reseller - Canon Silver Reseller
** Contact: Sales@xxxxxxxxxxxxxxxxxxxxxxxxx
** Tel / Fax 0121 458 4894 (office) 0121 441 3558 (home)