Problem Statement
Describe a simple user login flow using PHP sessions.
Explanation
When a user submits credentials, the system validates them against stored data. If valid, a new session is created with user details. On subsequent pages, PHP checks the session to maintain authentication until logout or session expiry.
Practice Sets
This question appears in the following practice sets:
