Author Login
Post Reply
I removed the mp1 codes,
Also used Apache2 cookie, but still the post data is not there but still I
am using CGI session.
Should I use some other session handling...
How can I make sure that my $r is a Apache2 request.
Do I have to do as follows and use $req for all the references e.g setting
remote user variables etc
my $req = Apache2::Request->new($r, POST_MAX => "1M");
waiting for a quick reply. pls advice
I have the following use statements and not refering to any mp1 code
use CGI;
use CGI::Session;
use Apache2::ServerUtil;
use Apache2::Request;
use Apache2::URI;
use Apache2::Cookie;
use Apache2::Log;
use APR::URI ;
Joe Schaefer-6 wrote:
>
>
> --- Rob French <drfrench@(protected):
>
>> Hi,
>>
>> POST data is read directly from the socket and can
>> only be read once.
>
> No. POST data is read through httpd's filter api.
> How many times you can read it depends on what's in
> the input filter chain.
>
> The original poster should be using apreq
> (APR::Request::Apache2 or Apache2::Request)
> for this, not some other perl module that doesn't
> exploit the filter api.
>
>
>
>
>
>
--
Sent from the mod_perl - General mailing list archive at Nabble.com.