|
From: Chris W. <ch...@cw...> - 2005-07-04 14:16:02
|
On Jul 3, 2005, at 8:03 PM, Antti M V=E4h=E4kotam=E4ki wrote:
> Is there a reason why OI uses FCGI instead of CGI::Fast?
I don't think there's a reason; I just wanted to get something =20
working quickly and figured if someone knew better they'd speak up.
I guess I was right :-)
> I started experimenting with FastCGI again and experienced some odd =20=
> things like CGI not reseting its POST parameters. These problems =20
> seem to have disappeared when I switched to CGI::Fast.
>
> My fastcgi loop is
> while ( my $c =3D CGI::Fast->new() ) {
> and I create request:
> my $request =3D OpenInteract2::Request->new( { cgi =3D> $c } );
So the CGI::Fast object is a subclass of CGI.pm? Cool.
> Interestingly OpenInteract2::Request::CGI already contains the code =20=
> for this to work as it should.. So... What's going on? =3D)
Hey, if FastCGI works better with CGI::Fast I'm all for switching. =20
Are there any other side effects? And is CGI::Fast the more commonly =20
used interface? (I've never used FastCGI in production, so it's all a =20=
shot in the dark for me...)
Chris
--
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
|