in reply to Apache::Request->param() failing on POSTs

You might want to try the CGI module instead of Apache::Request. I don't understand why, but in researching my own similar mod_perl problems I came accross a mailing list posting saying that one worked while the other returned empty data: http://aspn.activestate.com/ASPN/Mail/Message/modperl/1013538

I'm curious, are you using mod_perl 1 or 2? I only recently started trying mod_perl 2 (never tried 1) and I also found a bug where it loses POST data. I asked about the bug on the mod_perl mailing list (http://gossamer-threads.com/lists/modperl/modperl/81790?#81790) but never got any response.

-Joe

  • Comment on Re: Apache::Request->param() failing on POSTs

Replies are listed 'Best First'.
Re^2: Apache::Request->param() failing on POSTs
by geektron (Curate) on Jun 16, 2005 at 06:23 UTC
    i'm using mod_perl 1 and apache 1.3.x (don't remember the minor number).

    i know i could use CGI, but i've been trying to make more use of the Apache::* modules.

    but, reading the reference thread, something does stick out

    It seems to me like your processes are getting corrupted by some C code or an improperly shared file handle or socket.
    -- perrin
    the "improperly shared filehandle" sticks out the most. i have a feeling my precedessor's approach to the application may be part of the problem. (with a  local *TEMPLATE stuck in one of the template loading modules)

    oh well, back to CGI

Re^2: Apache::Request->param() failing on POSTs
by BaldPenguin (Friar) on Jun 16, 2005 at 15:42 UTC
    I know the difference for me has always been the size of the files in import and usage. While CGI works, I personally find my applications work faster if I do not use it with the mod_perl. I have stuck with 1.x simply for stability so far, but have also gone to parsing my data by hand for to speed up the process and reduce the memory size of the application.

    Don
    WHITEPAGES.COM | INC

    Edit by castaway: Closed small tag in signature