Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Mixing POST and GET with CGI::Application

by samtregar (Abbot)
on Mar 06, 2009 at 19:34 UTC ( [id://748945]=note: print w/replies, xml ) Need Help??


in reply to Mixing POST and GET with CGI::Application

I can think of one good reason not to mix POST and GET - it often doesn't work. With the right version of CGI.pm or Apache::Request (depending on whether you're in mod_perl or not) it can work. But what's the upside? Using hidden inputs in a post form is easy and very reliable.

-sam

  • Comment on Re: Mixing POST and GET with CGI::Application

Replies are listed 'Best First'.
Re^2: Mixing POST and GET with CGI::Application
by c4onastick (Friar) on Mar 06, 2009 at 19:55 UTC
    I can think of one good reason not to mix POST and GET - it often doesn't work[!]

    Good point! I was a bit weary of that, but the second set of scripts I have up there does prove that they can coexist peacefully.

    I had intended to use them both for separation of run mode control and transfer of data, i.e. use the GET variables only for "out" functions like: display page X. Then use the POST variables for input, which (in most cases) would be parsed and inserted into a database. Plus the forms I have for the full project will have some pretty hefty data entry, so I might be brushing up against the GET size limit.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://748945]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-19 18:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found