Page 9 - ICT 256 -Activity 02
P. 9
Cookies
What Is a Cookie?
A cookie, also known as an
HTTP cookie, web cookie,
or browser cookie.
A cookie is a small text file
that contains a small
amount of information about a user visiting your
site and is stored on the site visitor’s computer
by their browser.
Upon receiving the cookie, the browser:
a) Stores the cookie in memory
b) Sends the cookie back to the web server
each time it requests a new web page.
The main purpose of a cookie is to identify
users and remember stateful information (such
as items in a shopping card) or to save site login
information for you.
Because the cookie is stored on the user’s
computer, it does not require any server space
no matter how many users you have.
You can use cookies to save user preferences,
customize data, remember the last visit, or to
keep track of items in an order while a user
browses.
8