I apologize if this belongs outside of stackoverflow but I am at wits-end trying to understand internet cookies.
I have read and completed the tutorials at the following sites:Whatsmyipadress, w3schools, tutorialspoint, and how stuff works.
From what I understand, cookies work like:
- client visits site,
- site requests cookie,
- if cookie does not exist, site creates cookie,
I found this example and tried to use but everyone has the same name and value:
When I ran tests with different users, everyone returned the same combo name:bob
Am I supposed to randomly assign a value? The first link says that users would need to complete a registration-type page and then server would use the info to create an id. This is similar to the tutorial on schools (except their example uses a popup). Is this what I need to do as well?
How are cookies made unique ? From my experience, I wouldn’t be able to personalize any experience because everyone would have the same name/value pair.