[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] CGI::Application with fastcgi


Has anyone tried to use CGI::Application with fastcgi?
When I try, my script runs, but it does not switch between the runmodes
correctly.

You probably have problems with the CGI object not being initialized properly (thus retaining values from a previous request).

The CGI::Fast module worked for me.
Try this in your instance script:

use CGI::Fast();

while (my $q = new CGI::Fast){
my $app = new MyCGIApplication(QUERY => $q); # this is your CGI::App module
	$app->run();
}



Cheers,

Thilo


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.