[EMAIL PROTECTED] wrote:
>
Does modperl-1.0 also need to have its read functions rewritten in a similar way?
I ask because Apache::ASP and CGI.pm no longer work happily together since CGI.pm version 3.01. That is to say, the Apache::ASP example for demonstrating CGI-compatibility:
http://www.apache-asp.org/eg/source.asp?file=cgi.htm
never returns data entered into the form because CGI.pm's param() function always returns empty.


Note that in order to get CGI to work with Apache::ASP, I retied STDIN
to the Apache::ASP $Request object.  So if CGI is doing something smart,
like going to the Apache request read() method directly, then that would
not work with Apache::ASP.

If CGI can revert to reading from STDIN when it detects that it is running
under Apache::ASP->handler(), that would probably be one type of fix here
assuming that its trying to use the Apache read() directly.

The issue in particular is that one can only do Apache->request->read()
once, so Apache::ASP caches the input, and allows access to it via a
newly tied STDIN to work with CGI.pm

Regards,

Josh

________________________________________________________________________
Josh Chamas, Founder    | NodeWorks - http://www.nodeworks.com
Chamas Enterprises Inc. | NodeWorks Directory - http://dir.nodeworks.com
http://www.chamas.com   | Apache::ASP - http://www.apache-asp.org



--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to