Stateful

Stateful refers to the retaining and managing the state or information about a user or a process across multiple requests. PHP, by default, is stateless, meaning that each HTTP request is independent, and the server doesn’t inherently maintain information about previous requests from the same user.

Stateful behavior is often required when the application needs to keep track of user data or the progress of a process over multiple page loads or requests. There are various mechanisms to implement statefulness in PHP, and some common methods include: cookies, session, hidden form fields.

Documentation

See also Stateful vs. Stateless: Understanding the Key Differences

Related : Stateless