Associating an ID with a Page


Many times, you need to associate an ID with a web page. For example, several users are using the same page to purchase products at the same time. You need to tell which user is using this specific page. Several methods can be used to achieve this function. One of them is using the GET method. This slide shows how to use the GET method to associate an ID with a web page:


The first page 1.html uses the POST method to receive the user name and the first script 1.php composes the second page, which uses the GET method to relay the user name to the next page.

1.html
1.php

The second page is divided into three parts, so the user name can be embedded into the page:

2_1.html
2_2.html
2_3.html
2.php

The third page is also divided into three parts:

3_1.html
3_2.html
3_3.html
3.php




      It is your job, as a parent,    
      to make sure your child has the necessary tools    
      to make their life easier than yours was.    
      My child looks white. My job is done.    
      — Silas Lindenstein