Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
P is for Practical
 
PerlMonks  

Re: Lost query in CGI::App::FastCGI on POST

by greatshots (Pilgrim)
on Nov 21, 2006 at 21:05 UTC ( [id://585418]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Lost query in CGI::App::FastCGI on POST

From basic understanding on perl CGI, I could say that the above replacement won't work as you expect. Have you read any manual which says about CGI::Application -> CGI::Application::FastCGI ?
Update 1 - Begin
Have you happened to see the below note ?
Note that cgiapp_init() will be called only once under lifecycle of FastCGI. setup() will also only be called once. (you should not be doing magical things in 'setup'.) So if you want to do something for every REQUESTS, you should write the logic in cgiapp_prerun().
reference
Update 1 - End
  • Comment on Re: Lost query in CGI::App::FastCGI on POST

Replies are listed 'Best First'.
Re^2: Lost query in CGI::App::FastCGI on POST
by GrandFather (Saint) on Nov 21, 2006 at 21:17 UTC

    From the documentation for CGI::Application::FastCGI:

    Inherit this module instead of CGI::Application if you want to run your cgi programs based on CGI::Application under FastCGI.

    DWIM is Perl's answer to Gödel
Re^2: Lost query in CGI::App::FastCGI on POST
by BaldPenguin (Friar) on Nov 22, 2006 at 13:01 UTC
    All of my logic is occurring in the run mode itself, GET and POST variables should not be locked within the cached lifecycles. If that were the case, why does the GET work when the POST does not?

    Don
    Everything I've learned in life can be summed up in a small perl script!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://585418]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.