Web Cookies

A Web cookie is a string that can be stored on a web browser. It allows javascript and web servers to save and retrieve data across several pages.

  • Overview of using javascript to save and retrieve cookies.
  • Example page that stores a score as a cookie and then retrieves it on a second page.

Note: The Chrome browser does not process cookies when the web pages come from local files (files stored on the browser's computer). To test your cookies-based code, use Firefox.