Hi folks,

I really need some feedback on the hook issue. I want to close out the 2.1 release so I can move on to the next release with more features!

To recap, this is what I propose:

On PreExecute($ioURL; $ioRequestInfo; $ioQueryParams; $ioFormVariables) -> outStatus

$ioURL Text The requested URL (only the directory portion, no host or protocol)
$ioRequestHeaders Longint Handle to the built-in 'request info' collection
$ioQueryParams Longint Handle to the built-in 'query params' collection
$ioFormVariables Longint Handle to the built-in 'form variables' collection
RESULT Boolean True to allow execution, false to abort execution


This gives you a chance to munge them (at your own risk) before actual execution. If outStatus is false, the request will not be executed and a status of -3 will be returned to the shell.


On PostExecute($ioResponseHeaders; $ioResponseCookies; &$ioResponse)

The first two parameters are handles to the built-in Active4D collections, the third is the actual response BLOB.

Please let me know if you think these will fulfill your needs.

Regards,

   Aparajita
   Victory-Heart Productions
   [EMAIL PROTECTED]
   www.aparajitaworld.com




Reply via email to