A cookie is a file containing a minimal amount of data that is stored by a web browser in response to a requestfrom a script or a server. They are often used as a means to identify and track web site visitors.