|
|||||||||||
|
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.
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:44 EDT |
||||||||||
|
|||||||||||