CGIs and Global Variables

Ken Ray kray at sonsothunder.com
Fri Jan 6 16:15:58 EST 2006


On 1/6/06 1:41 PM, "Gregory Lypny" <gregory.lypny at videotron.ca> wrote:

> Hello everyone,
> 
> Just want to confirm that it's OK to use global variables in stack
> handlers that will be called by CGIs because the engine creates an
> instance of the stack specific to the user.

Yes, that's the case - it acts like any other CGI AFAICT - when a request
comes into the server, it launches an instance of the CGI for the requester,
and then quits it when it's done.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list