Introduction to CGIIntroduction to CGI
When a server has client's request to compute a CGIprogram, usually written in C-like or Perl languages,is executed. A CGI receives parameters, executes oneor more computations, gets a result; send it back tothe client and exits. This means that at each client'srequest the same CGI program has to be loaded,executed and terminated. This procedure is actuallythe most popular in the client-server environment,but it often overloads servers.