March 2003
Intermediate to advanced
312 pages
7h 12m
English
One of the most common methods of state management is the use of a URL variable for the unique identifier. In fact, most state-management mechanisms use cookies, URL variables, or some combination of the two.
In order to use a URL variable to identify the client, you must make sure that the HTML generated from your application uses this variable in all URLs that the user will use to navigate your site. Most Web applications will use one of two primary methods of navigation—form submission buttons and links—so I will focus on these approaches.
For links, the HTML you need to output is something like the following:
<a href=”/example.php?unique_id=12345”>Click Here</a>
Although the only dynamic information in this example ...
Read now
Unlock full access