Sessions
Have you ever wondered how websites remember who you are? Sessions & Cookies!
The (overly) simplest way to think about it is this:
- Websites set cookies in your browser.
- Those cookies act as a DataBase ID.
- Your browser sends that cookie back to the server every time you access the website.
- The server looks up your stored personal info in a separate mini-database.
Resources:
Our stuff: