Back to product page
- Introduction
- License agreement
- Getting Started
- Enumerations
- Objects
- How to get support?
- Technical information
- Fast notifications interface
- Error list
CGIStart event
Fires when CGI script is ready to be started.
Syntax
- Basic
Private Sub object_CGIStart (ByRef User, ByVal FullPath, ByRef Environment)
The CGIStart(object,User,FullPath,Environment) syntax has these parts:
The CGIStart(object,User,FullPath,Environment) syntax has these parts:
object | An expression evaluating to an object of type wodWebServer |
User | WebUser object. Reference to user that called CGI script. |
FullPath | String value. Full path to executable that will be called, including any arguments you specified in CGIExecute method. |
Environment | WebHeaders object. Reference to collection of WebHeader objects that will be converted to user's environment variables. |
Remarks
CGIStart event is fired just before external CGI application is to be executed, as defined by Response.CGIExecute method. Before this application is executed, wodWebServer has to set up special environment for the application - and gives you option through this event to change environment of the application just before it's started.Environment argument is a collection of WebHeader objects which are translated to environment variables - feel free to add (or remove) new variables if you think they are required.