Website Cookies Explained: Sessions, Preferences and Tracking
What is a website cookie actually for? It is a small piece of data the browser can store and send.
1:47 · No narration: the video shows each step as text on screen, and every step is written out below, with buttons that jump the video to it.
Prefer YouTube? Watch this video on our YouTube channel (opens in a new tab).
The six points in the video
This is a silent video. The headings, explanations and labels below reproduce the information on screen.
-
Step 1: Cookies help remember state
Web requests need a way to carry information between visits.
On-screen labels: Small data value; Browser storage; Later requests.
-
Step 2: A session can use an identifier
The server can recognise an existing signed-in session.
On-screen labels: Session identifier; Server-side checks; Sign-in state.
-
Step 3: Preferences can be remembered
A service might save a language or display choice.
On-screen labels: Language choice; Display preference; Return visit.
-
Step 4: Some cookies support tracking
A cookie can help connect activity across requests.
On-screen labels: Activity measurement; Identifier use; Privacy implications.
-
Step 5: Cookie settings change behaviour
Lifetime, scope and security settings affect their behaviour.
On-screen labels: Expiry settings; Site scope; Security attributes.
-
Step 6: Review the actual purpose
A cookie list should explain what each service is using.
On-screen labels: Cookie inventory; Purpose of each one; Review with your provider.
A practical check for your business
Review the cookies the real site creates during the visitor journey. Record their purpose and the controls that affect them, then check the implementation against the business's applicable privacy requirements.
Sources and further detail
Common questions
What is a website cookie actually for?
It is a small piece of data the browser can store and send. Ask what each cookie does on your website.
Go further
More video tips
All 205 videos →
Browser Storage Explained: Local Storage and Session Storage
Local and session storage.
Website Software Updates: 6 Checks for a Sensible Maintenance Plan
6 website maintenance checks.