Skip to content

Instantly share code, notes, and snippets.

@121watts
Created August 25, 2014 16:42
Show Gist options
  • Save 121watts/22c2a3acf37ad18b92d8 to your computer and use it in GitHub Desktop.
Save 121watts/22c2a3acf37ad18b92d8 to your computer and use it in GitHub Desktop.
Cookies
1. What's the difference between a cookie and a session?
2. What's serialization and how does it come into play with cookies?
3. Can a cookie be shared by more than one user? How/why?
4. What would it mean to store a shopping cart in a cookie?
5. What advantages/disadvantages are there between cookie-stored carts and
database-stored carts?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment