Description
-
Executes preloaded ISAPI extension
Return Type
-
None
Syntax
-
object.ISAPIExecute Extension,
[ScriptName], [ScriptPath]
The ISAPIExecute Method syntax has these parts:
| object |
An expression evaluating to an object
of type WebResponse. |
| Extension |
Required. A Variant value. Reference to ISAPI
extension that will process the request. |
| ScriptName |
Optional. A Variant value. Name of executed
script as seen by the client. |
| ScriptPath |
Optional. A Variant value. Full path to executed
script, as seen by the server. |
Remarks
-
ISAPIExecute method will call loaded ISAPI extension so it
processes client's request. Once processing is done, ISAPI extension
will automatically send response back to the client.
-
-
ISAPI extension is executed in separate thread so lengthy
processing does not freeze up wodWebServer.
-
-
Typically, you can use this method like this:
- Private Sub Http1_RequestDone(ByVal
User As WODWEBSERVERCOMLib.IWebUser)
User.Response.ISAPIExecute 0, User.Request.URI,
User.ResolveURI(User.Request.URI)
End Sub
-
-
Above sample will use first ISAPI extension for the
collection.
-
-
WARNING: Before using this method
you should set
Response.Filename
property to empty string "", otherwise your CGI could rewrite your
HTML resources stored on the disk. This will typically happen if you
set
DocumentRoot
property.
|