Tcl Powered!NeoWebScript

Home
 
Download
User Info
New User FAQ
Tutorials
Demos
Commands
Variables
Troubleshooting
Sysop Info
Sysop FAQ
Theory
Installation
Management
Tests
Troubleshooting
Feedback
Resources
Release Notes
Credits
Disclaimer
VISITOR_INFO - NeoWebScript
Synopsis * Description

Records and reports on visitor information.

Synopsis

  • visitor_info ?-option value -option value ..? counter_name

Description

The visitor_info command was written as a supplement to the NeoWebScript counter commands. It is something of a hybrid between the NeoTrack system and named counters.

Visitor_info records: a grand total, daily totals, hits from remote_hosts and hits from referring URLs.

The options and their values are described below.

-function function
The -function option can be set to:

    record - Tells visitor_info that you wish to record information on the user hitting your page. This is the default function.

    report - Tells visitor_info that you want a report of the current hits that have been stored.

-show ?option,option, ..?
The show option is used in conjunction with the report function to tell visitor_info what you would like to be displayed in the report. There are four options you can ask to be displayed:

    grandTotal - The grand total of hits to counterName

    dailyTotals - The daily totals of hits to counterName

    hosts - The remote hosts that have hit counterName

    referers - The referer URLs that have hit counterName

EXAMPLES:
visitor_info myCounter
Would simply incremement the counter on the current page.

visitor_info -function record myCounter
Would also simply incremement the counter on the current page.

visitor_info -function report myCounter
Would show a report of all the counter information stored in the database.

visitor_info -function report -show grandTotal,dailyTotals myCounter
Would show only the grand total and daily totals stored in the database.

Copyright © 1995-1999 NeoSoft Inc., 1770 St. James Place, Suite 500, Houston, TX 77056 USA. All Rights Reserved