[cgiapp] Issues with CGI's param() method
on CGI::Application::Server
Bradley C Bailey
cgiapp at brad.memoryleak.org
Wed Jan 21 23:41:27 EST 2009
Jason,
I just came across this RT ticket.
http://rt.cpan.org/Public/Bug/Display.html?id=42199
Does the patch maybe help?
Regards,
Bradley C Bailey
> Yeah. My application dumps all the query parameters into the session...
> or is supposed to rather. My sessions were turning up mostly empty, so
> I started checking specific query parameters. I'm getting nothing.
>
> I'll see if I can boil it down to a short test case. But I'm pretty
> perplexed.
>
> Jason
>
> On Jan 21, 2009, at 6:16 PM, Bradley C Bailey wrote:
>
>> Jason,
>>
>>> Is there any reason why, when running an application under
>>> CGI::Application::Server, that any call to param() returns nothing in
>>> my application? Looking at the console output, the values I am
>>> submitting (through URL or form) are clearly there, but they are just
>>> not available through the application.
>>> Running on Perl 5.10 on OS X, if it helps any. This same code runs
>>> great on IIS under Windows.
>>> Any help is appreciated.
>>
>> I have not had that problem when using CA::Server.
>>
>> Just a stab in the dark, are you sure you're calling param() on the
>> query object and not the cgiapp object?
>>
>> Regards,
>> Bradley C Bailey
More information about the cgiapp
mailing list