Utilizing Form Variables
Form variables are arguably the least popular method of state management and are only an option for those who rely on HTML form submissions to guide the navigation of their Web sites. This type of approach might exist in the following types of situations:
The Web application is constructed in such a way that every page requires the users to input information into an HTML form, thus submitting a page each “step” of the way through the site.
The interface is designed so that all navigation is provided by “buttons” that are really HTML form submissions, even though the users may not be providing data in an HTML form on every page.
In these types of scenarios, each request being sent from the Web client is a POST, so the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access