Programming Considerations
When the Superbase Internet Server is first initialized it
will automatically load the required DLL's, global system
variables, and a sample SBP file will be displayed in the
program editor.
If an error occurs in your program, the error number and
error message will be returned to your browser. You may wish
to de-activate the error-handling when you deploy your system.
To do so, use the Superbase command SET ERROR OFF ALL in the
DrawPageInit() routine in the SBISERVE.SBP. While developing,
you may also wish to disable the error-handling routine and
let the error occur un-trapped. This may prove more efficient
when tracking down bugs. To do so, insert the ON ERROR command
in the DrawPageInit() routine in the SBISERVE.SBP program
file.
Please remember if you have altered the default error-handling
before deploying your system, it may affect the reliability
of the system.
WARNING: Although the Superbase Internet Server includes
an unprotected copy of the SBISERVE.SBP program file, DO NOT
make any changes to the code other than the DrawPageInit(),
DrawPageDone(), and HTML_Page$() procedures. If any other
code is modified it will void your warranty and make it impossible
for Superbase and/or GeoMetrix to provide technical support.
It is advisable to keep your Internet program routines as
small and fast as possible. Where necessary they may be broken
into several smaller pieces. This will allow better overall
response from your server if multiple users are simultaneously
accessing Superbase.
|