Glossary coding Term Page
Cookie
Small browser-stored data automatically sent with matching requests
Core Idea
A cookie is a small piece of data the browser stores and automatically sends back with matching site requests. Login persistence, user preferences, and some CSRF defenses all build on this mechanism.
Why It Matters Here
Mathbong uses cookies when connecting SvelteKit cookies.set, FastAPI credential transport, and CORS allow_credentials behavior. In auth flows it helps to ask what gets stored where and when the browser resends it automatically.