PHP State Management Using Sessions

The state of a variable is the data that it contains. As a variable changes its data, we say that the state has been changed. One common challenge is how to pass data from one web page to another since web pages are stateless. There are several mechanisms, but in this video we’ll focus primarily on using PHP Sessions to retain state and pass data from one page to another via the server side.