[cgiapp] only one session id per instance under fcgi?

Clayton Scott clayton.scott at gmail.com
Tue Apr 21 17:44:52 EDT 2009


Hi Nathan,


> ##
> use base qw(CGI::Application::FastCGI);
> ##


I suggest that you skip using CGI::Application::FastCGI because of the
bug in the RT queue
http://rt.cpan.org/Public/Dist/Display.html?Name=CGI-Application-FastCGI

Instead I recommend that you use the following template for your Fast
CGI script:

use CGI::Fast;
use My::Module;

while ( my $q = CGI::Fast->new ){
    my $app = My::Module->new( QUERY => $q );
    $app->run();
}


Clayton

--

Clayton Scott
clayton.scott at gmail.com


More information about the cgiapp mailing list