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

Chapter 4. Managing Client State  > Information Embedded in the URL or in a FOR...

Information Embedded in the URL or in a FORM Post

In the early days of the Internet (way back in 1995), CGI programmers set up a roll-your-own method of maintaining client state. They used the HTTP protocol's built-in syntax for passing name/value pairs, either on the URL (with a GET request) or after the main body of the HTTP request (with a POST request, usually from a form). By being careful, a CGI programmer could hand the same name/value pairs from page to page of a site via URLs and forms. This method of managing client state created beautiful URL strings that look something like the Web site shown in Figure 4.2.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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