[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sub Requests
- Subject: Re: Sub Requests
- Date: Fri, 30 Mar 2007 09:11:56 +0100 (BST)
- From: Anthony Gardner <suppressed>
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 from the REQUEST_URI? I thought it would take it from the QUERY_STRING ......... hence me concentrating on that area.
The REQUEST_URI in the called script remains the same as the intitial request.
I could code around all of these problems but that's amaturish and I'd rather spend a bit of time getting ti the core of this.
Any further help would be great, thanks
CIA
-Ants
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
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.