Cookies!
Two ways to keep session data:
-
URL Stuffing: place a key in the URL
-
But, you lose data when the browser is shut down.
-
Use with a sign-in.
-
Cookies: write a key on the user's computer
-
Recognize the user immediately when the browser is opened.
-
Use with sign-in to keep data among different computers.
-
But... Cookies are highly misunderstood. Can only write text.
-
Many people turn off cookies.
-
Why keep session data, anyway?
How do JavaScript programs work?
Home
Internet II: Day 2