HOME PRICING PURCHASE CONTACT US 541-306-6332  
Components
Account Management
Site Control Panel
Email
FTP
Frontpage
Billing Maintenance
Documentation
ISAPI connection
Database
Shopping
Pay Per Download
Random Graphics
Server Side Includes
Visitor Forms
Web File Transfer
META Tags
Fraction/Decimal Chart
RGB Color Table
HTML Entities
E-Commerce Setup
SSL Certificate
SSL Renewal
Merchant Account
ASP
Overview
ADO Database
SendMail
File IO
Include Files
Transactions
ISAPI/HTML-Basic
Authentication
SendMail
Banner Rotator
Random Graphics
Random Pages
ISAPI/HTML-Database
dbSearch
dbstore/SendMail
dbdelete
dbupdate
Template Driven

Hosted by InfoDial


USING THE ISAPI INTERFACE FROM ASP


This is not needed if your making CGI requests from an HTML page

To connect to the ISAPI, it's easiest to use our connection include file:

<!-- #include virtual = "/ISAPI/ISAPIConnect.inc" -->

Each function has been organized as a call to ExecuteISAPI.

Use:
ExecuteISAPI(Class.Function(EnvDict,FormVars,...)) to connect to these components.

The ExecuteISAPI provides formdata and environment data handling required by the components. Refer to the ISAPI-CGI documentation for what form variables need to be present on the form.

Please be aware that the ISAPI does not process ASP commands (yet) so you need to submit forms to what normally would be your template and ISOLATE the return data as the template to the ISAPI.

An Example Scenario... Simple SendMail Application:

(Of course ADO and CDO are available for database store and email send but for example purposes we will use dbstore)

An Email form would submit the form variables (as required) to an .ASP page we will call "confirmation.asp".

Inside of confirmation.asp you would include the reference to the ISAPIConnect.Inc file and the request into the ISAPI. Thus...

<!-- #include virtual = "/ISAPI/ISAPIConnect.inc" -->
<% =ExecuteIsapi(Database.dbStore(EnvDict,FormData)) %>

EmailServer.
SendMail(EnvDict,FormVars)

DISystem.

DbSearch(EnvDict,FormVars)
DbStore(EnvDict,FormVars)
DbDelete(EnvDict,FormVars)
DbUpdate(EnvDict,FormVars)

ShopCart.
AddItem(EnvDict,FormVars)
DeleteItem(EnvDict,FormVars)
BatchItems(EnvDict,FormVars)
DeleteAllItems(EnvDict,FormVars)
SubTotal(EnvDict,FormVars)
ShowTotal(EnvDict,FormVars)
DoTransaction (EnvDict,FormVars, FromCartFlag)
0=AllInOne Equivalent ( Purchase Page Based )
1=Transaction Equivalent ( Shopping Cart Based )
CheckOrder(EnvDict,FormVars)
FillOrder(EnvDict,FormVars)
DownLoad(EnvDict,FormVars)

RandomImage.
RandomHTML(EnvDict,FormVars)
RandomImage(EnvDict,FormVars)
Counter(EnvDict,FormVars)


  ©1995-2001 InfoDial, Inc.