WeOnlyDo! wodWebServer ActiveX - CGIStop Event
    
 

Description

Fires when CGI finishes its execution.


Syntax

Private Sub object_CGIStop(User, success)



The CGIStop Event syntax has these parts:

Part Description
object A wodWebServer object.
User A WebUser object. Reference to user that called CGI script.
success A Boolean 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.