Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hit Counters compatible with Firefox

0 views
Skip to first unread message

vtdba

unread,
Oct 22, 2009, 11:24:23 PM10/22/09
to
I am trying to establish a hit counter for my web page and the
freeware structure (code provided) I found which uses a MS Access MDB
doesn't like playing with Firefox as the browser. Switching to IE
(using the Add-on IE Tab) it seems to work (I'm still chasing a bug)

Any help on what I can do or leads on a simple FREEWARE Hit Count that
is neutral to the browser would be very much appreciated?

TIA

Al

David E. Ross

unread,
Oct 23, 2009, 12:32:34 AM10/23/09
to

Hit counters are generally server-based. Unless the counter is
generating HTML beyond mere text or is some type of proprietary graphic,
the type of browser should make no difference.

Contact your Web hosting service. They might have a counter available
for their customers.

--
David E. Ross
<http://www.rossde.com/>

Go to Mozdev at <http://www.mozdev.org/> for quick access to
extensions for Firefox, Thunderbird, SeaMonkey, and other
Mozilla-related applications. You can access Mozdev much
more quickly than you can Mozilla Add-Ons.

vtdba

unread,
Oct 23, 2009, 8:55:49 AM10/23/09
to
On Oct 22, 11:32 pm, "David E. Ross" <nob...@nowhere.invalid> wrote:
> On 10/22/2009 8:24 PM, vtdba wrote:
>
> > I am trying to establish a hit counter for my web page and the
> > freeware structure (code provided) I found which uses a MS Access MDB
> > doesn't like playing with Firefox as the browser. Switching to IE
> > (using the Add-on IE Tab) it seems to work (I'm still chasing a bug)
>
> > Any help on what I can do or leads on a simple FREEWARE Hit Count that
> > is neutral to the browser would be very much appreciated?
>
> > TIA
>
> > Al
>
> Hit counters are generally server-based.  Unless the counter is
> generating HTML beyond mere text or is some type of proprietary graphic,
> the type of browser should make no difference.
>
> Contact your Web hosting service.  They might have a counter available
> for their customers.
>
> --
> David E. Ross
> <http://www.rossde.com/>
>
David,

Thanks for the reply.

The reason I am trying to provide my own is that the counter available
through the service seems to reset to one (1) randomly. I have been
trying since Feb 2009 to get help with the issue and I keep getting a
run around on the issue.

When I bring up the TEST page I am working on in Firefox I get
something like the following:

<% 'This function returns an open connection to the access database.
Function GetDBConnection() Dim databasePath, connectionString 'MODIFY:
Specify the relative path to the database file. databasePath = ".
\sitebuilderfiles\HitCounter.mdb" 'Connect to the Access database
using a DSN-Less connection Set .......

When I switch to IE Tab it just shows the graphic for the counter but
the image(s) are missing. That's the bug I'm chasing. Having trouble
getting the GIF image files to the right directory I guess.

Placed them in the same directory as a WAV file I added and the HTML
coded for that finds it just fine.

Thanks for your thoughts though.

Al

David E. Ross

unread,
Oct 23, 2009, 11:45:33 AM10/23/09
to

I created my own hit counter. Its a server-side include for an Apache
server. It's a Korn UNIX script. Instead of a graphic, the count
appears inline in text that says something like "This page has been
visited xx times.", where the count appears in place of "xx". The count
is inserted into the HTML file by the server as it is sent to the
requesting browser in a way that makes it appear as if it were pre-coded
into the page.

I do get occasional resets to 1. These always seem to be related to two
or more visitors hitting the same page at the same time and thus trying
to write into the counter data file at the same time. However, besides
maintaining the counter data, the counter script also generates a
separate log file from which I can restore the actual count.

--
David E. Ross
<http://www.rossde.com/>

Go to Mozdev at <http://www.mozdev.org/> for quick access to

0 new messages