• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4.  Form Handling Using ColdF... >  Posting Form Data Using GET and PO...

Posting Form Data Using GET and POST

The <FORM> tag has two important attributes, ACTION and METHOD. The ACTION attribute is assigned to the URL of the form handler, while the METHOD attribute specifies how the data is to be sent to the Web server. If the METHOD attribute is assigned the value GET, the data submitted by the end user is sent in the form of URL parameters. If the METHOD attribute is assigned the value POST, the data submitted by the end user is sent as a separate file.

GET is a one-way method that retrieves files from a server based on a specified URL. POST is a two-way interaction. The <CFHTTP> tag first provides data of various types. The application then returns the data after processing it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint