WeOnlyDo! wodWebServer ActiveX - CGIStop Method
      
 

Description

Called when CGI finishes its execution.


Return Type

None  


Syntax

object.CGIStop Owner, User, success



The CGIStop Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodWebNotify.
Owner Required. A wodWebServerCom object. Reference to wodWebServer instance that called this notification method.
User Required. A WebUser object. Reference to user that called CGI script.
success Required. A Boolean value. Boolean value that holds True if CGI execution was successful, or False if it failed.

Remarks

NOTE: This method is called only if you implemented IwodWebNotify interface in your application, and wodWebServer.Notification property has received reference to instance of your implementation.

This notification method is called after external CGI application has finished processing user's request, but before response is sent back to the user. At this point you can change response parameters - such as change outgoing Headers and a Body. Success argument tells you if CGI application was successfully started or not - it is is very probable that Success argument tells you what kind of content you can expect in Response object.