ASP 3.0, Need Help With Page Counter Component

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. Code:

View Replies


ADVERTISEMENT

Page Counter Component, ASP 3.0

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. Code:

View Replies View Related

Use A Page Counter With Asp

All I want is a small graphical page counter on my homepage.
I'm using an access db and want to track how many times the
pages were used (logged on to).

All the graphical counters on the internet point to a website
but my project runs on a localhost.

View Replies View Related

Page Counter Problem

i dont' understand why my code for 'next page' doesn't work. When i click on the next page button it gave me some error code Type mismatch: 'rsCategory' ... i can't find rsCategory in my code:

View Replies View Related

Adding Commas To A Page Counter

I have a simple script I found that increments a number in a text file. I was wondering if anyone has a routine that will commify the number. Code:

View Replies View Related

Ppt COM Component To Use In Page Asp

Anyone know COM Component for full control file ppt?

View Replies View Related

ScriptingContext .asp Page From VB Component

I am writing a VB component. I want to make a request to hello.asp page from VB component. I am using Scriptinc Context for that. How can I make a request so that I can get a response back from my asp page...

So far I have written only these lines...

Dim ASPsc As ScriptingContext
Set ASPsc = ASP_Scripting_Context

How to make a request and get the response?

View Replies View Related

Write To Event Log From COM Component In An ASP 3 Page On W2K3

I have some ASP 3 pages that instantiate a COM component. That
component writes messages to the one of the Windows event logs.

Things work as I expect them to on XP Pro but not on 2003 Server. I
figured it was a security thing, so I surfed around and found that
permissions were tightened in the server's first service pack. The fix
I found[1] said to append an ACE[2] to the event log's CustomSD
registry value found at

HKLMSYSTEMCurrentControlSetServicesEventLog{L OG_NAME}CustomSD

I tried three different ones with a reboot after appending each one:

1. (A;;0x3;;;AU)
2. (A;;0x3;;;NS)
3. (A;;0x0002;;;S-1-5-21-237510213-3056582554-1478882900-1003)

The last uses the full SID of the IUSR account on the Windows 2003 I'm
working on. I obtained that ID using this vbscript: Code:

View Replies View Related

Problem On Calling C# Component Method From Asp Page

I created C# COM+ component. It has two overloaded methods - the method names are same and their signatures are different, one takes two parameters and another takes four. I coded this way: the method with 4 parameters is coded first and then the one with 2 parameters.

I created very simple ASP page to call these two methods. Calling the method with 4 params has no problem. However, calling the method with 2 params I get the error saying:

Error Type:
Microsoft VBScript runtime (0x800A0005)
Invalid procedure call or argument: 'SetReferenceValues'
/suitevoyager/testLmx.asp, line 16

How can I solve this problem?

View Replies View Related

Out Of Memory Error Using A WSC Component In ASP Page On IIS 5 On W2k Citrix Server

Can anybody shed any light on this issue ??? Or even ways of temporaily
getting around it ???

FISH is an ASP application which uses a WSC object called "finapps.fishapp"
to handle the requests to the database. The WSC is created in the GLOBAL.ASA
as a Session object using the following line:

<OBJECT RUNAT=Server SCOPE=Session ID=fish
ClassID="{32f74dc1-40f8-4db3-98a7-000200040013}"> </OBJECT>

The finapps.fishapp object creates an "ADODB.Connection" object that is held
open while the session is running, and the Session_OnEnd event should call a
method of that object that closes the connections

The website falls over only when there has been a period of inactivity
greater than the length of the session timeout, and also after there has
been a significant amount of traffic prior to this!

The problem we have only occurs for one of our clients, but occurs seemingly
randomly on all 4 of their servers. The returned results of the error are as
follows:
-----------------------------------------------
Active Server Pages error '8002802b'

Create object failed

An error occurred while creating object 'fish'.
Microsoft VBScript runtime error '800a0007'

Out of memory: 'fish'
//global.asa, line 36
------------------------------------------------

View Replies View Related

Is There Any POP3 And NNTP Component I Can Use As A ASP Component?

What I want to do is to show always the latest post on our company NNTP
and the newest email in my inbox as an activex background on my desktop.

View Replies View Related

Counter

I've been looking for a counting script to count the number of hits to my HTM and asp web pages on my company's internal website. So far, everything I've seen only works on asp pages. Where would I find some counter code to record hits on htm(l) as well as asp pages?

I'm using IIS 5.0.

View Replies View Related

Hit Counter In ASP

I've got a little counter program written to log individual hits to a page
without counting the same person twice. The problem is, it's counting the
same people twice. Here's the logic:

1) Check the session to see if they've been counted.
2) If they have not been counted:
- save their referrer/IP info
- flag their session to say they're counted
- end

But it seems that some people are being counted for every page they go to
and some are not. I've included the code below just in case. Is this a
server issue, a browser issue, a cookies/no cookies issue, or something
else? Any help would be much appreciated. I want to have accurate counts and
information for where people are coming from with as little effort as
possible.

View Replies View Related

Hit Counter For DIV

Is it possible to incorparate a Hit Counter to count the number of hits on a DIV instead of a page.
Below is the code of my DIV I would like to include the code for the counter inside this DIV. If at all possible??? Code:

View Replies View Related

Counter In ASP

I want to put the counter in index.html only...i dont want counter to keep on increasing EVERY TIME the same person views my website on same day. But the next day the counter will increase for the same person who views website the next day.

I only want the counter to increase for those who is first timer , not the SAME viewer who keeps on going back to the website over and over again on same day..

so how to do asp to achieve above? I have developed my website and include counter but d ont know how to go about including counter.

View Replies View Related

CGI Hit Counter

I not sure how to do a CGI hit counter where it automatically counts the times a web page is accessed?

View Replies View Related

A Rss Counter

I want to put rss news feeds in my site, but I only want something like 5 headlines. I try Yahoo feeds, but I get something like 30 headlines, this is way too many, I want 5. Is there a way to do this, to reduce these 30 headlines to something like 5?? Like, perhaps adding a counter to the script?

View Replies View Related

Add Hit Counter

I want to add a hitcounter to my website and use following code, but whenn I want to schow the site, which contents following codes, I will become from server the message " the page cann't be found" Code:

View Replies View Related

Best Counter

I am designing my first pages in ASP and I am willing to design an ASP web page counter. Can you recomend one I can look at to get some ideas?

View Replies View Related

Hit Counter

How to make a simple Hit Counter ? I am old VB Programmer, trying to learn ASP.

View Replies View Related

Site Counter

i have a simple asp counter in my site, the counter uses a access db & cookies (so every visitor will be counted once).

in the past days the counter has gone wild & count goes from 300 in ordinary days to 1000.
i guess this is because of robots, crawls, worms etc. is there any way i can count only real visitors?

View Replies View Related

Counter And Databses

I have recently enetered the world of ASP. I have a counter on my site which uses a global.asa file but it doesn't seem to work. it did for a while but doesn't now. i will atttach the files tommorow when i'm on my computer at home but in the mean time, what could be wrong?

i am also datbasing a site that will, evnetually, sell computers. it will contain all the parts for the computers and i want a drop down menu to link to them and return the prices individually and add them all up. the prices need to be returned separately so thy can go in their own table row. can this be done? if so, how?

View Replies View Related

Hit Counter Working

i want to add a hit counter to my site but i dont know any thing about it. can any one tell me how does it work.and what should i do for that?

View Replies View Related

Database Hit Counter

I have built myself a little hit counter. It's just a few lines of VBScript that submit the page name and date to an SQL Server db.It executes every time the page is accessed. I am a little concerned that this method may put strain on the server given that the home page averages about 3000 hits a week.I wanted to do it this way because it allows me to use the date field to analyse the usage on a weekly or monthly basis.
Does anyone know if this will put too much strain on the server? Perhaps this post is better suited to a db forum. Really I'm just interested to know under what circumstances the db server will struggle.

View Replies View Related

Custom Hit Counter

I decide to put a custom Hit Counter on my page (below). Then I won't be
reliant on the standard FrontPage one which uses webbots.

It is called by:

<b>Hit Counter: </b><!--#include file="_fpclass/hit_count.inc"-->
The code it includes is below.

OK, it works - sort of.

If I go to Guestbook and then return via the Home button, the counter
increases by 3, not 1.

I can't see why this is happenning.

After returning, a refresh increases it by 2, then another refresh increases
it by 1 ??

I know that many say "Don't use them - it is a sign of an amateur", but I
would at least like to get it working even if I later decide not to use it.

I have thought to make it a conditional include, i.e. if document.referrer
is blank. Is that possible? Code:

View Replies View Related

Performance Counter

I am running the WebService / CurrentConnections performance counter.
It works fine for one site I'm looking at, but not for another.
The one it doesn't work for, the polling vertical red line doesn't even
move.
Is there a setting somewhere that controls whether a web site can be be
'polled' or not?
I am using Windows Server 2003 Standard Edition.

View Replies View Related

Visit Counter

im after adding a hit counter to my front page but having the details of how many visits the site has had being displayed in my admin section.
any assitance on how i go about doing this?

View Replies View Related

Asp MSSql Hit Counter

Anyone know of a free advanced mssql hit counter?

View Replies View Related

Hit Counter Problem?

I want to make a hit counter for one particular page. I have code in one separate functions page, I then call this from the page I want to count:-

<!--#include file="tools/functions.asp"-->
<% Totaldownloads() %>

This bit of code is then called:-

<%
Function Totaldownloads()
Application("downloads")=Application("downloads")+1
Totaldownloads = CInt(Application("downloads"))
End Function
%>

However it seems that this code runs by itself allway's updating by 1, even when the Function is not called? I have other functions with the one stated above which are included on other pages, again using:-

<!--#include file="tools/functions.asp"-->

Surely the code should only run when called, not just included?

View Replies View Related

Request Value From Counter

i'm having a problems as i dono how to request the value from the textbox. This is how is it. usually when we want to retrieve the value from the page we will Request.Form("txtBox"). The problem i'm having is i dono how many textbox it will be. Here is it.

I have a combobox that enable me to select how many textbox i want. For example it can select from 1 to 5. Ok when i had selected 5 then it will appear 5 textbox for me to enter the input.

The textbox is only got 1 name for the html as i create this in a counter loop. Therefore may i know how to retrieve the 5 textbox value as i need to do a checking for the input of the 5 textbox value with the database. Usually will be Request.Form("textBox") but now i have 5 values in the 1 textbox name.

View Replies View Related

Visitors Counter

can anybody show me how to create a visitors counter which can save the visitors details and the date into text file?

View Replies View Related

Simple Hit Counter

I want to do a simple hit counter but my problem is I don't want to open a database everytime there is a hit. (I'm afraid this will give me problems with the server if too many people hit at once.)
I thought of doing it with files but I want others to be able to see the hits without ftp access.anyway to use javascript to call a stored procedure(in this case at least the page won't fail if the db is too busy)

View Replies View Related

Develop A Counter

I have 3 different ways to let the visitor know that latest news is up on the website. First is through email,send through website and last through a pop up.The problem is how do I develop a counter that record the hits from three different sources,so I know the most effective way that the visitor is using to access the latest news.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved