|
| |
NTpage Web Interface Overview
|  |
So you want to queue and send a message from your Web Page. It is quite simple with NTpage. You have the entire NTpage API at your fingertips from a web page. NTpage provides the web interface via the NTPISAPI.DLL ISAPI extension.
The ISAPI interface allows you to interface a web page to the NTpage Server. Any web server software that supports the ISAPI standard can use this program. Microsoft's IIS was one we tested with.
Basically, here is the way it works
Your HTML page Posts to the NTPISAPI.DLL several Form Fields and values. Many of the form fields are "hidden" form fields that tell the ISAPI DLL what to do.
The ISAPI takes the information and sends it on to the NTpage Server. You specify the name of the HTML file that should be returned upon Success or Failure.
Most all the functions available to the API are available from your web site.
We have included sample HTML pages created in Front Page to give you an example of how to interface. These are:
QUIKPAGE.HTM A sample of sending a QuickPage to a paging user.
SUCCESS.HTM A sample page that is sent back upon Success
FAIL.HTM A sample page that is sent back upon failure
Obviously, you will want to create your own custom pages, but these show you examples of how to interface to your web site.
Several Hidden fields are required to be present. They are:
Command The Command you wish the ISAPI to execute
SuccessPage The path to the html file to serve upon successfully
FailPage The path to the html file to server upon failure
NTpage Web Interface Installation
To install the NTPISAPI.DLL, simply copy it into your SCRIPTS directory. For example, on the Microsoft IIS server, you would copy the DLL into \INETPUB\SCRIPTS. Note also that the DLL relies on the POST method and not the GET method.
|