How do websites know it’s me when I visit them again?
Websites usually recognize returning visitors through small files called cookies, which store an identifier in your browser. This lets a site remember your login, preferences, or cart contents without you having to enter anything again. This guide to why websites use cookies explains how this recognition actually works.