[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sub Requests


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 <suppressed> wrote:
On 3/29/07, Anthony Gardner 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 the subrequest.

> But, I do loose my QUERY_STRING and infact, I'd like to change the
> QUERY_STRING for the called sub request.

I think you just need to construct a URL with the query string you
want and use it as your subrequest URL.

- Perrin


What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship.

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.