Servertec   Page Counter
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Samples
hello
args
headers
redirect
include
make
raw
log
cookiecounter
listemployees
simpleform
dumpform
pagecounter
Sales
Legal
Feedback

 

This example displays:
This page was accessed count times.

Where count is the number of times this page was hit.

Clicking on refresh will cause the page to be redisplayed and the counter to increment.

The counter is stored in a file page_counters on the Web Server. If an entry does not exist, then an entry set to 1 is created in the file.

This example calls the iScript executable page_counters.cef. to do the actual work and return the value to display in the generated Web page.

[ view source ] [ run ]

 top of page
 Built with iScript Copyright © 1997-1999 Servertec. All rights reserved.
Last Modified: Tue Jan 26 22:20:20 EST 1999