Sahn Lam (@sahnlam) 's Twitter Profile
Sahn Lam

@sahnlam

Coauthor of the Bestselling 'System Design Interview' Series | Cofounder at ByteByteGo | YouTube: youtube.com/@ByteByteGo

ID: 20085903

linkhttps://blog.bytebytego.com calendar_today04-02-2009 19:57:04

784 Tweet

31,31K Followers

310 Following

Sahn Lam (@sahnlam) 's Twitter Profile Photo

Cookies vs sessions for managing user session Cookies and sessions are both used to carry user login credentials and permissions over HTTP requests. 🔹 Cookies - Cookies typically have size limits of 4KB - Used to store user login credentials or permissions - Sent with each

Cookies vs sessions for managing user session

Cookies and sessions are both used to carry user login credentials and permissions over HTTP requests.

🔹 Cookies
- Cookies typically have size limits of 4KB
- Used to store user login credentials or permissions
- Sent with each