AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Digital Literacy

Cookies and labels

Week 9 · Unit 8.2: Understanding our online footprint · 3 lessons
1

The little text file

Digital Literacy 8: Unit 8.2, objectives 8SW.04
GoalExplain what a cookie is, what it holds and how a website uses it, without mixing it up with a virus.
New words
cookie · a small text file that a website asks your browser to storebrowser · the program you use to look at web pagessession · one visit to a website, from the time you arrive until you leaverecognise · to know again
Explanation

A cookie is a small text file. A website asks your browser to store it. The cookie holds a short code or a few settings, such as your language or the items in your basket. When you visit the site again, the browser sends the cookie back, and the site recognises the same browser. This is why a shop can remember a basket for an hour, or a page can stay in your language. A cookie does not hold your name or secrets unless you typed them into the site. It is not a virus, and it cannot read your computer. Cookies are useful for settings and baskets, but some cookies can follow what a browser does over time, so websites ask people for their consent, and browsers let adults see and delete cookies.

Worked examples
Cookie nameWhat it holdsWhat it is used for
languageenshow the pages in English
basket3 itemsremember what was picked
visitorcode 48213recognise the same browser
An invented garden shop stores three cookies in a visitor’s browser. Each holds only a short piece of text.
Can a cookie hold this?Answer
a short codeyes
a language settingyes
a person’s nameonly if the person typed it into the site
a virusno
A cookie does not know a person’s name unless the person gave it. This table compares what a cookie holds with what it does not.
Pupil

My basket is still here!

Helper

The site recognised your browser from its cookie.

Pretend a pupil’s browser keeps a basket cookie. She closes the page, and when she comes back an hour later, the basket still shows 3 items.
Class activity

Cookie play (on paper, no computer). Cut three small cards and write a cookie on each, for example ‘language = fr’, ‘basket = 2 items’ and ‘visitor code = 77201’. One person plays the browser and keeps the cards. Another plays the website: the website hands over a card at the first visit, and gives a different page the next time when the browser shows the card. Swap roles. Finally write a sentence that says what a cookie is and one thing it is not. If you have a computer or tablet, with a trusted adult, you may look up how to see cookies in a browser.

Practice
1
Which of these could be stored in a cookie: a language setting, a virus, a short visitor code, a secret password you never typed?
ItemCould be stored in a cookie?
Language setting?
A virus?
Short visitor code?
A secret password never typed?
2
Why does a basket stay full when you leave an online shop and come back later?
3
A friend says: ‘Cookies are computer viruses that read all your files.’ Correct this in two sentences.
4
Explain what ‘the site recognises the browser’ means.