Want to show current number of users on your ASP page? This article lets you show a way to access IIS/ASP performance values from ASP. Source to show current number of anonymous users or main IIS performance values in HTML, values from other computers.
This tutorial and free script download guide you line by line through the process of making a hit counter for your web site. Also download the code and tutorial with each line code commented with pre made counter images.
With this script, you can retrieve the users screen resolution and color depth. It writes the screen info and the usual visitors' info to an access database. The script only counts unique users.
Counting how many users you currently have viewing your website is a neat thing to add to your site and it's simple. In order to create this script, you must learn about session, application objects and the global.asa file.
This article illustrates a technique to provide dynamic content generated from an ASP page onto a static HTML page. Specifically it explains how to display a page counter on a number of static HTML pages.
You can count the number of visitors on your site with a very simple ASP code. Create a file Count.asp with the following code and add in the header of every page useing Server Side Include(SSI).
By implementing this code on your site, you can display the number of visitors that are currently browsing your site. It increments a counter every time that a unique session begins on your site and decrements a counter every time that a session ends.
What's behind an image? Just about anything you there to be including a db. A typical image tag downloads an image to be processed by the browser an image tag that references an active server page can do most anything and output an image to be displayed as the final output to the user. This example will add one to an Access db (to count the number of impressions). The Access db will also add when the impression occurred automatically and redirect will send the user to an image to be displayed in the browser.
This example is a simple counter using graphics to display the numbers that will only show page views, not actual visitors. It uses the File Scripting Object to interact with a text file.