On Mon 22 Dec 2008, André Warnier wrote:
> I could do this the hard way by using LWP to just issue a new HTTP
> request to localhost and get the content, before I go on with my
> current request.
>
> But I figure there must be an easier and more efficient way, no ?
>
> Looking at the explanations f
Anthony Gardner <[EMAIL PROTECTED]> writes:
> Okay, including the new query string in the lookup_uri now correctly
> populates the QUERY_STRING in the sub request but
> that isn;t the answer to my problems.
>
> Within the called script, we make a call to $cgi->Vars but this is
> returning the que
Cool. you're a diamond.
stay tuned for the next problem!!
Perrin Harkins <[EMAIL PROTECTED]> wrote: On 3/30/07, Anthony Gardner wrote:
> One more question, I had to put the data in notes so that it was available
> in the inital script. Is that the right way to do it?
That's a good way to do it.
On 3/30/07, Anthony Gardner <[EMAIL PROTECTED]> wrote:
One more question, I had to put the data in notes so that it was available
in the inital script. Is that the right way to do it?
That's a good way to do it. I think the alternative is to rig some
kind of filter to capture the output of the
Ookay. Had a play with initalising the globals and got the thing
working.
One more question, I had to put the data in notes so that it was available in
the inital script. Is that the right way to do it?
Perrin, thanks for all your help on this. I've learnt a lot more, too which is
als
On 3/30/07, Anthony Gardner <[EMAIL PROTECTED]> wrote:
Within the called script, we make a call to $cgi->Vars but this is returning
the query string from the initial request.
That's just a problem with the way CGI.pm is coded. It essentially
doesn't work for subrequests or internal redirects b
Okay, including the new query string in the lookup_uri now correctly populates
the QUERY_STRING in the sub request but that isn;t the answer to my problems.
Within the called script, we make a call to $cgi->Vars but this is returning
the query string from the initial request. Is it taking that f
Yeah, you know what, I was mistakingly using lookup_file for ages and then
changed to lookup_uri but then overlooked the possibilty of adding on the
qsuery string.
Ho hum, will try tomorrow. Am getting there slowly.
Perrin Harkins <[EMAIL PROTECTED]> wrote: On 3/29/07, Anthony Gardner wrote:
>
On 3/29/07, Anthony Gardner <[EMAIL PROTECTED]> wrote:
I can use PassEnv and PerlPassEnv, set them in the calling script and then
retrieve the values in the called script (sub request) cool!!
You could also put things in $r->pnotes(). The parent request object
is available from within