Description

Called when an INET procedure has crashed and the Internet Gateway recovers.

Syntax

Inet_Aborted(Request, ProcErr)

Caution: This procedure MUST NOT fail (i.e. go to the debugger) or the Internet Services Gateway will be halted or go into an infinite loop. The Gateway has no way to auto-recover from a failure in this procedure!

Remarks

The ProcErr parameter is passed to the Inet_Aborted routine from Run_OECGI_Request.

Note: The Inet_Aborted source code ships with OpenInsight. This code may be modified. It is recommended that a backup be kept of any changed Revelation source code because future releases of OpenInsight may overwrite this routine.

Example

This is the actual source code for the Inet_Aborted executable that ships with OpenInsight.

function INET_Aborted(Request, ProcErr)
*********************************************************************
* Returns    : An HTML error message.
*********************************************************************
 
$insert Logical
$insert Inet_Equates
$insert Msg_Equates
declare function INET_Msg
    if assigned(ProcErr) then
        convert \00\:@fm:@vm:@svm to @tm:@tm:@tm:@tm in ProcErr
    end else
        ProcErr = ''
    end
response = ''
response<MTEXT$>    = 'Fatal error while processing| request':@tm:@tm:ProcErr
response<MCAPTION$> = 'OpenInsight -- Server Error'
return Inet_Msg('', response)
  • No labels