Back to product page

CGIStop callback method


Called when CGI finishes its execution.

Syntax

  • Basic
object.CGIStop (Owner, User, success)
The CGIStop(object,Owner,User,success) syntax has these parts:
objectAn expression evaluating to an object of type IwodWebNotify
OwnerAn expression evaluating to an object of type wodWebServer
UserWebUser object. Reference to user that called CGI script.
successBoolean 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 wodWeb1.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.

Platforms

Windows