A cookie is a small block of data that
can be stored by a web server on a web
client. Each time a web client accesses a web server,
it returns any cookies that are associated with that server.
A cookie may be a session cookie, whose
life extends only to the end of the web session,
or a permanent cookie that lives until a defined
exiry date.
A cookie may be created directly on the
server, or created on the client via a Javascript script.