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

Chapter 8. Forms > Passing Form Data

Passing Form Data

After a user enters form data and clicks a Submit button, the browser does two things. First, it encodes the form data into a single string. Then it sends the encoded string to the server by either the get or post HTTP method. The next two sections close out the chapter by providing details on each of these steps.

URL Encoding

When a user clicks the Submit button on a form, the browser gathers all the form data and assembles it into a string of name=value pairs, each separated by an ampersand (&) character. This process is called encoding. It is done to package the data into one string that is sent to the server.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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