Cookies
Don’t start Cookies with jargon. Start with remember me. That is the whole point.
For Cookies, the PHP runtime is in play. Don’t blame it until you have traced remember me.
Cookies exists so Arun can keep remember me correct in the browser.
Cookies shows up in the browser. Name remember me, not “a real-world scenario”.
If remember me breaks under Cookies, check storing password in a cookie first.
Place Cookies next to nearby PHP work — setcookie with httponly is the link.
One breath for Cookies, then remember me, then storing password in a cookie. Sit down.
For Cookies: definition + the browser + one failure.