Back to product page

CGIStop event


Fires when CGI finishes its execution.

Syntax

  • Basic
Private Sub object_CGIStop (ByRef User, ByVal success)
The CGIStop(object,User,success) syntax has these parts:
objectAn 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

This event is fired 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