Sessions, Cookies, and Flashes
- If we didn't have cookies and sessions, what would happen?
There would be no data transfer/memory between each click of the page; victim of statelessness - What is a cookie?
object that you can access like a hash; store non-secure things in browser; expire - What's the difference between a cookie and a session?
session's data is serialized; more secure; expires at end of browser session. (session is maintained browser side, cookie = server-side) - What's serialization and how does it come into play with sessions?
Change format of storage; can't just read or edit- gives security