Example Using Hidden Form Fields
The classic example of “session information” is the contents of a customer’s shopping cart at an online store.
In the interests of fitting code in slides, we scale this down and deal with selections from a virtual snack-vending machine.
- “. . . Think of clocks and counters and telephones and board games and vending machines.” C.A.R Hoare, Communicating Sequential Processes, 1985.