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

Re: Sub Requests


Ooooooooookay. 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 also good.

-Ants

Perrin Harkins <suppressed> wrote:
On 3/30/07, Anthony Gardner 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 because of the
massive use of global variables. A call to CGI::_reset_globals should
fix it.

- Perrin


Now you can have your favourite RSS headlines come to you with the all new Yahoo! Mail.

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