mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-29 17:44:52 +08:00
Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
472 B
472 B
State Management
HTTP is stateless, so PHP uses sessions and cookies to maintain state between requests. Sessions store data on the server and identify the user with a session ID sent in a cookie. Cookies store small pieces of data directly in the browser. Together they enable features like login persistence, shopping carts, and user preferences.
Visit the following resources to learn more: