Re: missing POST data but not GET.....

2008-05-23 Thread Tracy12
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

Re: missing POST data but not GET.....

2008-05-15 Thread Tracy12
Yes this works with no issues, keeping the existing code untouched Thanks robf-3 wrote: > > Hi, > > POST data is read directly from the socket and can only be read once. > You must save the POST'd data in a data structure that is passed or > available to the different handlers in order to acc

Re: missing POST data but not GET.....

2008-05-14 Thread Tracy12
Thanks for the reply, instead of rewriting the CGI used locations isn't there a way to get the functionality. I am making use of $r primary for some session handling only. I am not doing any read or manipulation with the POSTed data. Do you think that CGI removal is a must? Without much rework

Re: missing POST data but not GET.....

2008-05-14 Thread Joe Schaefer
--- Tracy12 <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks for the reply, > > Can you pls clariy what is meant by the following, > > >> > >>The original poster should be using apreq > >>(APR::Request::Apache2 or Apache2::Request) > >>for this, not some other perl module that doesn't > >>exploit

Re: missing POST data but not GET.....

2008-05-14 Thread Tracy12
Hi, Thanks for the reply, Can you pls clariy what is meant by the following, >> >>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. Does this mean the final target application wh

Re: missing POST data but not GET.....

2008-05-14 Thread Joe Schaefer
--- Rob French <[EMAIL PROTECTED]> wrote: > 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 (

Re: missing POST data but not GET.....

2008-05-13 Thread Rob French
Hi, POST data is read directly from the socket and can only be read once. You must save the POST'd data in a data structure that is passed or available to the different handlers in order to access it multiple times. Here is a good explanation of the process, they use a different method than the o