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)
A system I use uses advanced encryption for passwords. It was taken from some sample script and adapted some where. However this was I think intended to be for passwords. So nothing too long.
However the time has come where I need to create a function to encrypt a large amount of text. It has to encrpt a large amount of text but nothing too advanced is needed to be honest. Just so its unreadable because its written to a text file on drive. It has to be a function though then capable of decrypting the encrypted text.
Any ideas ? Again Dont have to be nothing too flash. I mean I had a go at just changing letters to different letters but the function got huge with all the replaces.
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'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.
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:
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.
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?
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:
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?
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?
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.
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.
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?
<% 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?
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.
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.
An ASP page has a variable named iCounter whose initial value is 0. This ASP page has a drop-down list. When an option is selected from the drop-down list, I want the value of the iCounter variable to increment by 1. For e.g. when an option is first selcted, iCounter should be equal to 1. When an option is selected again, iCounter should be equal to 2 so on & so forth. How do I do this?
I have tried the PerfMon object (which doesn't work on NT-4 SP6).I have tried the WMI implementation located on http://www.aspfaq.com/show.asp?id=2491 (which doesn't work on NT-4 either).Are there any other solutions to provide me with a TOTAL session count across all apps?
And for the few snide remarks about updating the OS, I would LOVE to but cannot at this time.I have upgraded my dev box to 2000 and the solutions work great.Unfortunately the production server is another matter and I'm stuck with it for a while.
I have tried to implement several counter scripts in ASP. For some strange reason it seems my server does not like these. At the moment my server is down again due to "too many user connected" errors from testing the counters. I copied the ASP script to another server and it works fine.For some reason, my server cannot handle the following code. When I run it, it simply stalls.
Set fs = CreateObject("Scripting.FileSystemObject") Wfile=server.mappath("") & "counter.txt"
i need to count visitors and on line users, but I’m having some problems with this global.asa counter witch should use correctly those application and session variables and session onStart and onEnd procedures.
Some how it doesn’t work well. Is there any other way to count visitors and users online?
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.
i want to have a counter using database but the situation is like this that client is not having database facility and he wants only form database.so in php what we are doing is to make a script for counter and putting it at any server and then whereever to show the output just open its url e.g file(http://www.name.com/page.php) and its ouput is shown .
i don t know much about asp so can any body give me the code for this counter and show me how to do like this that the counter script and database will be on some other server and where output to be shown is on some other server??????
I'm a senior windows application developer and have been given an asp website for updating. The site I am updating is a dynamic site. The main page is a list of cities and when a person clicks on the city (cityID link), a new page comes up with city information depending on which cityID was clicked.
I need to create a hit counter to record the number of hits per city and these hits need to be recorded daily.
Would it be wise to create an application variable for each cityID and record the number of daily hits per to a database or file? Should I record each click? Which would be better? would it be slow, saving to a dbase if there is an average of 100,000 hits a day?
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:
Is it possible to create a unique visitors hit counter in ASP? I'm struggling to find any tutorials on the net. I found a few that can do a unique visitors on a daily basis but I just need a straight forward unique visitors in general.