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

Page Counter Component, ASP 3.0

0 views
Skip to first unread message

Roland Ramirez

unread,
Jan 30, 2004, 1:23:24 PM1/30/04
to
I am trying to monitor the number of visits on various Excel and HTML
reports on our website. I would like to create a web page that has the
various hit statistics for various URLs.

I thought I could use the Page Counter Component to do this using
MyPageCounter.Hits(url);
but I cannot get it to work with any URL. I can get it to work with
the page the code is located in if I do not specify a URL, but I
cannot get it to work to keep track of the visits to other URLs, in
this case Excel and HTML reports my business group maintains.

Any help would be greatly appreciated.

Here is what I tried to do.

<%

Set MyPageCounter = Server.CreateObject("MSWC.PageCounter")

MyPageCounter.PageHit()

%>

This page has been visited
<%=mypagecounter.hits("d:/inetpub/wwwroot/web_project/folder/book1.xls")%>
times.<br>

Aaron Bertrand - MVP

unread,
Jan 30, 2004, 1:34:30 PM1/30/04
to
I already answered this question.


Rob Greene

unread,
Feb 1, 2004, 2:11:36 PM2/1/04
to
Try one of these pages:

HOW TO: Use the ASP PageCounter Component in FrontPage 2000
http://support.microsoft.com/?id=309008

HOW TO: Use the ASP PageCounter Component in FrontPage 2002
http://support.microsoft.com/?id=318275


-rwg

A. Webmaster

unread,
Feb 2, 2004, 2:40:37 PM2/2/04
to
Yea I had problems with the PageCounter too but I'm not using PageFront.

I do have access to MS SQL Server 7 so I thought I could simply use a
table for all download counters.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

0 new messages