CGI MySQL Drivers What next?

Alex Shaw alex at harryscollar.com
Wed Dec 17 18:54:39 EST 2008


Hi

I call the following at the end of the startup handler:

COMMAND cleanUp
     closeDB
     IF there is a stack "externals" THEN close stack "externals"
     wait 20 milliseconds
END cleanUp


COMMAND closeDB
     IF gConID is not "" THEN revCloseDatabase gConID
END closeDB

The 20 milliseconds delay has helped in a few instances when returning 
large amounts of data or when using other file i/o within the script.

regards
alex


Björnke von Gierke wrote:
>   --completely remove all stacks from memory. necessary!   
>   --either of the following should do, I'm using both for being paranoid
>   close stack "externals"
>   quit
> end startup



More information about the use-livecode mailing list