Kbase P59448: Difference in Progress' GET & POST and CGI GET & CGI POST
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/12/2003 |
|
Status: Unverified
GOAL:
Difference in Progress' GET & POST and CGI GET & CGI POST
FACT(s) (Environment):
WebSpeed
FIX:
The process-web-request procedure is the most important procedure in the WebObject. Web requests are sent to it from PROGRESS' Web event dispatcher. Once it recieves the request, process-web-request determines if the request is of type GET or POST. PROGRESS' definition of GET and POST is slightly different from CGI GET and CGI POST.
A PROGRESS Get indicates the first appearence of the HTML page where there has been no data submitted. The GET REQUEST_METHOD prepares any form in the Web page, by moving any initial data to the form buffer and setting up the input form elements to recieve user input, and then outputs the Web page to the browser.
A PROGRESS Post indicates that this is not the first appearannce of the HTML page, and that data has been submitted. The POST REQUEST_METHOD processes the data entered by the user in the Web page and then returns either the original form, or simulates another Web request to return another form.
CGI GET method passes information back to the server in encoded input that is appended to the end of the URL. In forms this input is then put into an environment variable called QUERY_STRING.
CGI POST method that passes information back to the server on a separate stream, which is then passed directly back to the standard input of your CGI script.
Refer to the WebSpeed Developer's Guide for more information. Chapter 1 (page 1-21 through 1-29) and Chapter 2 (page 2-3 through 2-7) document the process-web-request procedure.