Cookie use: storing login details
A small file a website saves in your browser to remember you are logged in, so you do not have to type your username and password on every page.
Understanding Cookie use: storing login details in IGCSE Computer Science Paper 1
What it does: The login status is stored in a cookie, so the user is not asked to enter a username and password on every page. The 'Remember me' option keeps a cookie stored for longer, so you can still be logged in when you return another day. If you stay logged in, the next person could use the cookie to open your account. Logging out ends the login.
Common mistakes: After a successful login the login cookie must record that the user IS logged in, so it should be set to TRUE. FALSE would make the site ask for the password again. The account page should only be shown when the cookie says the user is logged in. The test must be loggedIn = TRUE.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 490–499) and word search (Modules 490–509).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
login cookieFill in the Blanks
Spot the Error
Student with a class code? Join your class →