Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: When GET = POST?

From: Steven M. Christey <coley(at)linus.mitre.org>
Date: Mon Nov 11 2002 - 21:22:12 EST

The popular Perl module CGI.pm creates a CGI "object," and parameters are handled through a param() method on that object, which basically hides whether the input came from GET or POST methods.

See: http://stein.cshl.org/WWW/software/CGI/#named_param

Start at "Fetching The Names Of All The Parameters Passed To Your Script"

It wouldn't surprise me if other Perl CGI modules had the same abstraction layer. From the program's point of view, you rarely care about what method is being used (unless you specifically choose POST to avoid information leaks from GET, and/or your program requires a lot of input data, as mentioned in previous posts).

One reason for preferring GET, as far as I can see, is the ease of inserting simple links into web pages without requiring forms.

  • Steve
Received on Mon Nov 11 21:43:12 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:44 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library