[fpc-pascal] Powtils Apache and Windows Seven 64bits

Marcos Douglas md at delfire.net
Mon May 24 20:20:42 CEST 2010


On Mon, May 24, 2010 at 2:24 PM, Lee Jenkins <lee at datatrakpos.com> wrote:
>
> It is more or less a console application.
>
> 1. Request come in.
> 2. CGI Application starts and handles request through stdin/stdout.
> 3. CGI Application shuts down and release its resources.
>
> One application is started and then shutdown for every request which comes
> in. Not good for sites that need AJAX, connection pooling, persistent
> objects, etc.  Great (and fast) for sites with basic fetch(static, database,
> etc) and display models, IMO.

Oh my...

Then I can do this:
var
  s1, s2, s3: TStrings;
begin
  s1 := TStringList.Create;
  s2 := TStringList.Create;
  s3 := TStringList.Create;
end;

...and at the end, no memory leaks?

This is true about Desktop (Win/Linux) apps too?


Marcos Douglas



More information about the fpc-pascal mailing list