S/Mart
S/Mart, more commonly known a zzCGI as it run from zzcgi.exe, has been designed to enable anyone using OECGI (OpenInsight 4.1.x) to build advanced web solutions that permit a single web server to host multiple OpenInsight web based applications. This is achieved by simply specifying different URLs for each application on the web server (or allowing the user to log into a common location and then invisibly redirecting them to a unique URL for that application).
Product Description
ZZCGI.EXE is an EXE that should be placed in each subdirectory that represents a distinct OpenInsight application. Modus Operandi
Sprezzatura realize that not all users are comfortable editing the registry therefore we have provided a number of ways in which you may invoke the different OECGIs. Essentially for all mechanisms of invocation, you the developer must tell zzCGI (S/Mart) the location and user details of the OpenInsight system to invoke. Primary Method - Registry Method
Developers use the standard OECGI registry entry and add a subkey called /subdir/zzcgi.exe. For example for a subkey called /scripts/zzcgi.exe -
HKEY_LOCAL_MACHINE\SOFTWARE\RevSoft\OECGI\/scripts/zzcgi.exe
If it finds the sub-key it will take all of the standard OECGI settings from under there and launch zzcgi.exe with these settings.
Secondary Method - Subkey in ZZCGI.CFG file
The system will look for a ZZCGI.CFG in the subdirectory referenced. It will look for a subkey entry as follows
[zzCGIRegistry] regPath=HKEY_LOCAL_MACHINE\SOFTWARE\RevSoft\OECGI\/scripts/zzcgiexe
Tertiary Method - Details in ZZCGI.CFG file
[zzCGIEngine]
CreateFlags=1
UserName=SYSPROG
etc...Quaternary Method - Fall Back to Standard Behaviour
If all else fails it will use the standard OECGI details from the registry.
