HttpRequest Method (RUNTIME)
10.2
The HttpResponse method determines whether a FastCGI session should be started. The method uses the following format:
|
|
|
|
|
|
|
|
Where:
Optional. A Program Execution Label.
Required. A RUNTIME object that has been previously declared.
Optional. A Numeric Variable that returns the pass\failure values for the execution of the method.
Optional. A Numeric Variable or decimal number that specifies the number of seconds to wait for a FastCGI session request. The default is one second.
Flags Affected: OVER, ZERO
Note the following:
The ZERO flag is set if the {return} value is zero.
The {return} value indicates whether the method passes or fails as follows:
|
Value |
Description |
|
0 |
A FastCGI session has been initiated. |
|
1 |
The PWS Server has requested the program to SHUTDOWN. |
|
2 |
No FastCGI session was requested before the timeout period. |
|
3 |
A previous FastCGI session is still in progress. |
|
4 |
FastCGI mode is not active. |
|
5 |
An operational error has occurred during FastCGI mode. |
The OVER flag is set if the {return} variable is too small to receive the numeric result.
Once a FastCGI session is active, the HttpStdinSize and HttpSdtinData can obtain STDIN data.
The HttpResponse method completes a FastCGI session.
This method is not available under Windows CE or the PL/B WebServer.
See Also: RUNTIME, RUNTIME Methods, Method Syntax
![]() |