492ASP Session Counterhttp://www.codeave.com/asp/code.asp?u_log=76There are many ways to track usage of a website. The simplest way is with a hit counter. However, a hit counter will not give you an estimate of how many unique user sessions were opened in your site. The code provided below is one of the simplest session counters that can be made in .asp. A text document (session_count.txt) is placed in the same directory (providing that directory has write access, you may need to place the .txt document in your cgi-bin depending on your provider) as the page we want the session counter to appear on. The .txt file is first read to gain the value of the last session count, one is added to that number, written to the .txt document, closed and the counter value is written as text to the page. Refreshing the content of the output page will continually display the last session number. In order for the number to increment you must close all of your current browser sessions and re-visit the page or open another browser.ASP > Scripts and Components > Counters > Text BasedOct 10, 2006
There are many ways to track usage of a website. The simplest way is with a hit counter. However, a hit counter will not give you an estimate of how many unique user sessions were opened in your site. The code provided below is one of the simplest session counters that can be made in .asp. A text document (session_count.txt) is placed in the same directory (providing that directory has write access, you may need to place the .txt document in your cgi-bin depending on your provider) as the page we want the session counter to appear on. The .txt file is first read to gain the value of the last session count, one is added to that number, written to the .txt document, closed and the counter value is written as text to the page. Refreshing the content of the output page will continually display the last session number. In order for the number to increment you must close all of your current browser sessions and re-visit the page or open another browser.
There are many ways to track usage of a website. The simplest way is with a hit counter. The code provided below is one of the simplest hit counters that can be made in .asp. A text document (asp_count.txt) is placed in the same directory (providing that directory has write access, you may need to place the .txt document in your cgi-bin depending on your provider) as the page we want the counter to appear on. The .txt file is first read to gain the value of the last hit count, one is added to that number, written to the .txt document, closed and the counter value is written as text to the page. Refresh the content of the output page for a more complete illustration.
This is an easy to implement hit counter for your web site. It uses MS Access to return the number of times a page has been accessed. It can track multiple pages seperately, and it is easy to integrate with your existing web site. Here's a few samples (the graphics for the first one are included, and the second is just text):
EZcounter is a simple easy to setup asp counter script. The script uses a text file to track the number of page views and display to a webpage.Use SSI, Include, or copy and paste into asp pages.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.