Servertec Page Counter
M E N U

Content
Introduction
Release Notes
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Referance Manual
Samples
hello
args
env
redirect
include
make
raw
log
cookiecounter
listemployees
simpleform
dumpform
pagecounter
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_counter on the web server. If the cookie does not exist, then it is initialized to 1.

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-1998 Servertec. All rights reserved.
Last Modified: Wed Apr 15 00:20:11 EDT 1998